Total .NET Analyzer Rule Documentation  

LiteralDate Rule

Consider replacing hard-coded literal dates with constants.

Remarks

Consider using a constant or a localized resource instead of a hard-coded literal date. Using literal dates can make your code hard to read, maintain, and update.

Resolution

Whenever possible, you should replace hard-coded literal dates with constants or localized resources.

See Also

Literals

Date Literals

Constants