Unit 'DateUtils' Package
[Overview][Constants][Classes][Procedures and functions][Index] [#rtl]

Reference for unit 'DateUtils': Constants

ApproxDaysPerMonth

  

Average number of days in a month, measured over a year. Used in MonthsBetween.

ApproxDaysPerYear

  

Average number of days in a year, measured over 4 years. Used in YearsBetween.

DayFriday

  

ISO day number for Friday.

DayMonday

  

ISO day number for Monday.

DaySaturday

  

ISO day number for Saturday.

DaysPerWeek

  

Number of days in a week.

DaysPerYear

  

Array with number of days in a year. The Boolean index indicates whether it is a leap year or not.

DaySunday

  

ISO day number for Sunday.

DayThursday

  

ISO day number for Thursday.

DayTuesday

  

ISO day number for Tuesday.

DayWednesday

  

ISO day number for Wednesday.

MonthApril

  

ISO month number for April.

MonthAugust

  

ISO month number for August.

MonthDecember

  

ISO month number for December.

MonthFebruary

  

ISO month number for february.

MonthJanuary

  

ISO month number for january.

MonthJuly

  

ISO month number for July.

MonthJune

  

ISO month number for June.

MonthMarch

  

ISO month number for March.

MonthMay

  

ISO month number for May.

MonthNovember

  

ISO month number for November.

MonthOctober

  

ISO month number for October.

MonthSeptember

  

ISO month number for September.

MonthsPerYear

  

Number of months in a year.

OneHour

  

One hour as a fraction of a day (suitable for TDateTime).

OneMillisecond

  

One millisecond as a fraction of a day (suitable for TDateTime).

OneMinute

  

One minute as a fraction of a day (suitable for TDateTime).

OneSecond

  

One second as a fraction of a day (suitable for TDateTime).

RecodeLeaveFieldAsIs

  

Bitmask deciding what to do with each TDateTime field in recode routines.

WeeksPerFortnight

  

Number of weeks in fortnight.

YearsPerCentury

  

Number of years in a century.

YearsPerDecade

  

Number of years in a decade.

YearsPerMillennium

  

Number of years in a millennium.


Documentation generated on: Dec 24 2024