DateTimeExtensionsDateTruncate Enumeration
Precision specification for the {DateTime.}TruncateTo method
Namespace: MoreDateTime.ExtensionsAssembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
public enum class DateTruncate
No code example is currently available or this language may not be supported.
| Year |
0 |
Precision Year, all below is set to 0 |
| Month |
1 |
Precision Month, all below is set to 0 |
| Week |
2 |
Precision Week, all below is set to 0 |
| Day |
3 |
Precision Day, all below is set to 0 |
| Hour |
4 |
Precision Hour, all below is set to 0 |
| Minute |
5 |
Precision Minute, all below is set to 0 |
| Second |
6 |
Precision Second, all below is set to 0 |