DateTime
Object
datetime.add() Adds units of time to a date.
datetime.compare() Compares to date, to the given optional resolution.
datetime.dateFormat() Formats a date string to a given output
datetime.dateTimeFormat() Formats a date/time string to a given output
datetime.day() Determines the day of the month, in a date.
The ordinal for the day of the month, ranging from 1 to 31.
datetime.dayOfWeek() Determines the day of the week, in a date.
datetime.dayOfYear() Determines the day of the year, in a date.
datetime.daysInMonth() Determines the number of days in a month.
datetime.daysInYear() Determines the number of days in a year.
datetime.diff() Determines the number of given date parts between two different dates
datetime.firstDayOfMonth() Determines the ordinal (day number, in the year) of the first
day of the month in which a given date falls.
datetime.hour() Gets the current hour of the day.
Ordinal value of the hour, in the range 0 - 23.
datetime.LSDateFormat() Formats a date string to a given output using the current sessions locale
datetime.LSDateTimeFormat() Formats a date string to a given output using the current locale
datetime.LSDayOfWeek() Returns the day of the week the date represents in locale format
datetime.LSTimeFormat() Formats a time string to a given output using the current locale.
datetime.millisecond() Returns the milliseconds of the referenced date
datetime.minute() Extracts the minute value from a date/time object.
datetime.month() Extracts the month value from a date/time object.
datetime.part() Extracts the given date part from the date object
datetime.quarter() Calculates the quarter of the year in which a date falls.
datetime.second() Extracts the ordinal for the second from a date/time object.
datetime.timeFormat() Formats a time string to a given output
datetime.week() From a date/time object, determines the week number within the year.
datetime.year() From a date/time object, gets the year value.