esProc offers date/time functions that return date, time and datetime values.
Divide a sequence into multiple segments evenly according to the length and retrieve the specified segment |
|
Ø age() |
Compute the number of whole years between two specified time points |
Ø date() |
Convert a string or an integer to a date |
Get the date part of the datetime value |
|
Convert the string or long integer to datetime |
|
Adjust the precision of the datetime expression and return the expression |
|
Ø day() |
Get the day from a date value |
Ø days() |
Get the number of days of the year, quarter or month to which the specified date belongs |
Ø deq() |
Compare the specified two dates, accurate to the day by default |
Ø elapse() |
Get the date/time which is a certain time period before or after a given date/time |
Ø hour() |
Get the hour from a specified datetime |
Compute the number of days between two datetime values |
|
Get the millisecond from a specified datetime value |
|
Ø minute() |
Get the minute from a specified datetime value |
Ø month() |
Get the month from a specified date/datetime value |
Ø now() |
Get the current system date/time |
Ø pdate() |
Get the first day or the last day of the week/month/quarter/year to which a specified date belongs |
Generate a sequence of datetime values by specified regular intervals |
|
Ø range() |
Get the beginning members of the specified segment and its next segment |
Ø second() |
Get the second from a specified datetime value |
Ø time() |
Convert a string or an integer to time |
Get the time part of the datetime value |
|
Find a date which is the nth workday after the specified date |
|
Return a sequence of workdays between two dates inclusive |
|
Ø year() |
Get the year from a date value |