DateUtils Routines


Delphi C# Supported
comparedateDateTime.CompareToYes
comparedatetime Object.CompareToYes
comparetime DateTime.TimeOfDay.CompareToYes
dateof DateTime.DateYes
datetimetojuliandate No
datetimetomodifiedjuliandate No
datetimetounix No
dayof .DayYes
dayofthemonth.DayYes
dayoftheweek .DayOfWeekYes
dayoftheyear .DayOfYearYes
daysbetween No
daysinamonth DateTime.DaysInMonthYes
daysinayear No
daysinmonth DateTime.DaysInMonthYes
daysinyear No
dayspan No
decodedateday Yes
decodedatemonthweek Yes
decodedatetime Yes
decodedateweek Yes
decodedayofweekinmonth No
encodedateday No
encodedatemonthweek No
encodedatetime Yes
encodedateweek No
encodedayofweekinmonth No
endofaday No
endofamonth No
endofaweek No
endofayear No
endoftheday No
endofthemonth No
endoftheweek No
endoftheyear No
hourof .HourYes
houroftheday .HourYes
hourofthemonth No
houroftheweek No
houroftheyear No
hoursbetween No
hourspan No
incday .AddDaysYes
inchour .AddHoursYes
incmillisecond .AddMillisecondsYes
incminute .AddMinutesYes
incsecond AddSecondsYes
incweek No
incyear .AddYears/td>Yes
isinleapyear IsLeapYearYes
ispm Yes
issameday Yes
istoday Yes
isvaliddate No
isvaliddateday No
isvaliddatemonthweek No
isvaliddatetime No
isvaliddateweek No
isvalidtime No
juliandatetodatetime No
millisecondof .MillisecondYes
millisecondoftheday No
millisecondofthehour No
millisecondoftheminute No
millisecondofthemonth No
millisecondofthesecond No
millisecondoftheweek No
millisecondoftheyear No
millisecondsbetween No
millisecondspan No
minuteof .MinuteYes
minuteoftheday .TimeOfDay.MinutesYes
minuteofthehour No
minuteofthemonth No
minuteoftheweek No
minuteoftheyear No
minutesbetween No
minutespan No
modifiedjuliandatetodatetime No
monthof .MonthYes
monthoftheyear .MonthYes
monthsbetween No
monthspan No
nthdayofweek No
onehour No
onemillisecond No
oneminute No
onesecond No
recodedate No
recodedatetime No
recodeday No
recodehour No
recodemillisecond No
recodeminute No
recodemonth No
recodesecond No
recodetime No
recodeyear No
samedate Yes
samedatetime Yes
sametime Yes
secondof .SecondYes
secondoftheday .TimeOfDay.SecondsYes
secondofthehour No
secondoftheminute No
secondofthemonth No
secondoftheweek No
secondoftheyear No
secondsbetween No
secondspan No
startofaday No
startofamonth No
startofaweek No
startofayear No
startoftheday No
startofthemonth No
startoftheweek No
startoftheyear No
timeof Yes
today DateTime.ToDayYes
tomorrow Yes
tryencodedateday No
tryencodedatemonthweek No
tryencodedatetime No
tryencodedateweek No
tryencodedayofweekinmonth No
tryjuliandatetodatetime No
trymodifiedjuliandatetodatetime No
tryrecodedatetime No
unixtodatetime No
weekof No
weekofthemonth No
weekoftheyear No
weeksbetween No
weeksinayear No
weeksinyear No
weekspan No
withinpastdays No
withinpasthours No
withinpastmilliseconds No
withinpastminutes No
withinpastmonths No
withinpastseconds No
withinpastweeks No
withinpastyears No
yearof .YearYes
yearsbetween No
yearspan No
yesterday Yes