Contains broken down date-time representation.
This struct is analogous to standard C struct tm and uses the same, not always immediately obvious, conventions for its members: notably its mon and mday fields count from 0 while yday counts from 1.
GetWeekDay | Return the week day corresponding to this date. |
IsValid | Check if the given date/time is valid (in Gregorian calendar). |
Contains broken down date-time representation.
Return the week day corresponding to this date.
Unlike the other fields, the week day is not always available and so must be accessed using this method as it is computed on demand when it is called.
Return type: | DateTime.WeekDay |
---|
Check if the given date/time is valid (in Gregorian calendar).
Return False if the components don’t correspond to a correct date.
Return type: | bool |
---|
See GetWeekDay