| DateTimeHelper Methods |
The DateTimeHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| GetDayStart |
Gets start of the day of specific date.
| |
| GetFirstDayOfWeek |
Gets the first day of the week.
| |
| GetFirstDayOfWeek(String) |
Gets the first day of the week.
| |
| GetFormattedValidity |
Returns validity as formatted string.
| |
| GetHourStart |
Gets current date without minutes and seconds.
| |
| GetMinuteStart |
Gets current date without seconds.
| |
| GetMonthStart |
Gets the first day of the month from specific date.
| |
| GetValidityEnum |
Returns validity enumeration.
| |
| GetValidityString |
Returns validity enumeration as string.
| |
| GetValidTo |
Calculate valid to date and time according to given parameters.
| |
| GetWeekOfYear(DateTime) |
Gets the week of year number.
| |
| GetWeekOfYear(DateTime, String) |
Gets the week of year number.
| |
| GetWeekStart(DateTime) |
Gets the date from the beginning of week.
| |
| GetWeekStart(DateTime, String) |
Gets the date from the beginning of week.
| |
| GetYearStart |
Gets the first day of the year from specific date.
| |
| IsNowOrToday |
Returns true, if the given value is ##NOW## or ##TODAY## macro
| |
| IsValidFromTo |
Returns true if DateTime "from" is lower than or equal to DateTime "to" or one of them is equal to ZeroTime.
| |
| NumberOfWeeks(DateTime, DateTime) |
Gets number of weeks in specified time interval.
| |
| NumberOfWeeks(DateTime, DateTime, String) |
Gets number of weeks in specified time interval.
|