Number of days in a week. ISO day number for Monday ISO day number for Tuesday ISO day number for Wednesday ISO day number for Thursday ISO day number for Friday ISO day number for Saturday ISO day number for Sunday Array with number of days in a year. The boolean index indicates whether it is a leap year or not. Average number of days in a month, measured over a year. Used in . Average number of days in a year, measured over 4 years. Used in . Extract the date part of a DateTime indication. Date part of AValue. Datetime to extract date of Return the number of days in the year in which a date occurs. Number of days in the year in which AValue occurs. Date in year of which to calculate the number of days. Number of days in a particular year. Number of days in year AYear. Year to return the number of days from Return the number of days in the month in which a date occurs. Number of days in the month in which AValue occurs. Date in month of which to calculate the number of days. Number of days in a month of a certain year. The number of days in month AMonth, in year AYear. Year in which the month occurs. Month of which the number of days should be returned. Extract the day (of month) part of a DateTime value DateTime to extract day of Return the hour part of a DateTime value. Hour part of AValue. Value to extract hour of. Calculate a DateTime value representing the last day of a year, given a date in that year. DateTime value representing the end of the year in which AValue falls. Date in the year of which the end should be calculated Calculate a DateTime value representing the last day of a year DateTime representing the last day of AYear. Year to calculate last day from Calculate a DateTime value representing the last day of the month, given a day in that month. DateTime value representing the last day of the month in which AVAlue is a day. Day in the month of which the last day should be returned. Calculate a datetime value representing the last day of the indicated month DateTime value indicating the last day of AMonth in year AYear. Year in which month occurs Month to calculate end of Calculate a DateTime value which represents the end of a week, given a date in that week. DateTime value representing the last day of the week in which AVAlue is a day. Day in the week of which the last day should be calculated. Day of the week Calculate a datetime value which represents the end of a specified week. DateTime value representing the end of the week specified by AYear, AWeekOfYear and DayOfWeek Year Week of the year Calculate a datetime value that represents the end of a given day. A datetime value representing the time 23:59:59.999 of the day AValue. Day to calculate the end of Month in the year Day in the month Calculates a DateTime value representing the end of a specified day A datetime value representing the time 23:59:59.999 of the given day. Year Day of the year Extracts the day of the week from a DateTime value Day of the year from AValue. DateTime to extract the day of the year from. Calculate the number of hours passed since the start of the year. Number of hours passed since the start of the year till AValue . DateTime value for which to calculate the hour of the year Extract the day (of month) part of a DateTime value Calculate the number of hours passed since the start of the month. Number of hours passed since the start of the month till AValue. DateTime value for which to calculate the hour of the month. Extracts the day of the week from a DateTime value Day of the week from AValue. DateTime to extract the day of the week from. Calculate the number of hours passed since the start of the week. Number of hours passed since the start of the week till AValue. DateTime value for which to calculate the hour of the week. Calculate the hour of a given DateTime value Hour part of AValue. DateTime to calculate the hour of. Number of days between two DateTime values. Number of days between ANow and AThen. First date Second date Calculate the number of hours between two DateTime values. Number of hours between ANow and AThen First DateTime value Second DateTime value Difference in times between two moments. Days between ANow and AThen. First moment Second moment Elapsed hours between two datetime values. Elapsed time, in hours, between ANow and AThen First DateTime value Second DateTime value Number of years to add Increase a DateTime value with a number of years. DateTime representing AValue plus ANumberOfYears years. DateTime to which years should be added. Number of weeks to add Increase a DateTime value with a number of weeks. DateTime representing AValue plus ANumberOfWeeks weeks. DateTime to which weeks should be added. Number of days to add. Increase a DateTime value with a number of days. DateTime representing AValue plus ANumberOfDays days. DateTime value to which days should be added. Number of hours to add Increase a DateTime value with a number of hours. DateTime representing AValue plus ANumberOfHours hours. DateTime to which hours should be added. Number of minutes to add Increase a DateTime value with a number of minutes. DateTime representing AValue plus ANumberOfMinutes minutes. DateTime to which minutes should be added. Number of seconds to add Increase a DateTime value with a number of seconds. DateTime representing AValue plus ANumberOfSeconds seconds. DateTime to which seconds should be added. Number of milliseconds to add Increase a DateTime value with a number of milliseconds. DateTime representing AValue plus ANumberOfMilliSeconds milliseconds. DateTime to which milliseconds should be added. Encodes a DateTime value from all its parts DateTime value representing the complete timestamp Year Month Day of the month Hour of the day Minutes Seconds Milliseconds Decode a datetime value in a date and time value DateTime to decode Returns the year part of AValue. Returns the month part of AValue. Returns the day part of AValue. Returns the hour part of AValue. Returns the minute part of AValue. Returns the second part of AValue. Returns the millisecond part of AValue. Day of the week part Encode a DateTime value from a DateTime value representing AYear, AWeekOfYear and ADayOfWeek. Year part Week of the year part Decode a DateTime value in a week of year and day of week. DateTime to decode Returns the year part of AValue. Returns the week of year part of AValue. Returns the day of week part of AValue. Encodes a year and day of year to a DateTime value DateTimevalue representing the date specified by AYear and ADayOfYear. Year part. Day of the year part Decode a DateTime value in year and year of day. DateTime to decode Returns the year part of AValue Returns the day-of-year part of AValue Encodes a year, month, week of month and day of week to a DateTime value DateTime value representing the date specified by AYear, AMonth, AWeekOfMonth and ADayOfWeek. Year part Month part Week of the month part Day of the week part Decode a DateTime value in a month, week of month and day of week DateTime to decode Returns the year part of AValue. Returns the month part of AValue. Returns the week of month part of AValue. Returns the day of week part of AValue. Compare 2 dates, taking into account the time of day A negative number if A is earlier than B, zero if they are equal, or positive if A is later than B. First date-time to compare First date-time to compare Compare 2 dates, disregarding the time of day A negative number if date A is before B, zero if they are equal, or positive if A is after B. First date to compare Second date to compare Compares two times of the day, disregarding the date part. A negative number if A is before B, zero if they are equal, or positive A is later than B. First time to compare Second time to compare DateTime to decode Returns the year part of AValue. Returns the month part of AValue. Returns which ADayofWeek of AValue. Returns the day of week part of AValue. Encodes a year, month, week, day of week specification to a DateTime value DateTime value representing AYear , AMonthANthDayOfWeek .and ADayOfWeek. Year Month in the year Week in the month Day of the weel Base date time to use when creating the string representing the date/time. Default 0 Raise an EConvertError about an invalid date-time specification. Year Month in the year Day of the month Hour of the day Minute of the hour Seconds in the minute Milliseconds in second Raise an EConvertError with an invalid Year, WeekOfyear and DayOfWeek specification Raise an EConvertError exception when a day is not a valid day of a year. Year Invalid day of the year. Raise an EConvertError exception when a Year,Month,WeekOfMonth,DayofWeek is invalid. Year Month of the year Week of the month Day of the week Converts a TDateTime value to a Julian date representation Julian representation of AValue. DateTime value to convert to Julian representation Converts a TDateTime value to a Julian date representation Modified Julian representation of AValue. DateTime value to convert to Modified Julian representation Convert DateTime value to Unix epoch time Unix epoch time corresponding to AValue DateTime value to convert