Click or drag to resize
DateTimeHelper Methods

The DateTimeHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetDayStart
Gets start of the day of specific date.
Public methodStatic memberGetFirstDayOfWeek
Gets the first day of the week.
Public methodStatic memberGetFirstDayOfWeek(String)
Gets the first day of the week.
Public methodStatic memberGetFormattedValidity
Returns validity as formatted string.
Public methodStatic memberGetHourStart
Gets current date without minutes and seconds.
Public methodStatic memberGetMinuteStart
Gets current date without seconds.
Public methodStatic memberGetMonthStart
Gets the first day of the month from specific date.
Public methodStatic memberGetValidityEnum
Returns validity enumeration.
Public methodStatic memberGetValidityString
Returns validity enumeration as string.
Public methodStatic memberGetValidTo
Calculate valid to date and time according to given parameters.
Public methodStatic memberGetWeekOfYear(DateTime)
Gets the week of year number.
Public methodStatic memberGetWeekOfYear(DateTime, String)
Gets the week of year number.
Public methodStatic memberGetWeekStart(DateTime)
Gets the date from the beginning of week.
Public methodStatic memberGetWeekStart(DateTime, String)
Gets the date from the beginning of week.
Public methodStatic memberGetYearStart
Gets the first day of the year from specific date.
Public methodStatic memberIsNowOrToday
Returns true, if the given value is ##NOW## or ##TODAY## macro
Public methodStatic memberIsValidFromTo
Returns true if DateTime "from" is lower than or equal to DateTime "to" or one of them is equal to ZeroTime.
Public methodStatic memberNumberOfWeeks(DateTime, DateTime)
Gets number of weeks in specified time interval.
Public methodStatic memberNumberOfWeeks(DateTime, DateTime, String)
Gets number of weeks in specified time interval.
Top
See Also