[Overview][Constants][Procedures and functions] | Reference for unit 'dateutils' (#rtl) |
Encodes a DateTime value from all its parts
Source position: dateutil.inc line 301
function EncodeDateTime( |
const AYear: Word; |
const AMonth: Word; |
const ADay: Word; |
const AHour: Word; |
const AMinute: Word; |
const ASecond: Word; |
const AMilliSecond: Word |
):TDateTime; |
AYear |
|
Year |
AMonth |
|
Month |
ADay |
|
Day of the month |
AHour |
|
Hour of the day |
AMinute |
|
Minutes |
ASecond |
|
Seconds |
AMilliSecond |
|
Milliseconds |
DateTime value representing the complete timestamp
EncodeDateTime encodes the values AYearAMonth, ADay,AHour, AMinute,ASecond and AMilliSecond to a date/time valueand returns this value.
For an example, see DecodeDateTime.
If any of the arguments is not valid, then an EConvertError exception is raised.
|
Decode a datetime value in a date and time value |
|
|
Encodes a year, month, week of month and day of week to a DateTime value |
|
|
Encode a TDateTime value from a year, week and day of week triplet |
|
|
Encodes a year and day of year to a DateTime value |
|
|
Encode a Year, Month, Day, Hour, minute, seconds, milliseconds tuplet to a TDateTime value |
|
|
Encode a year, week and day of week triplet to a TDateTime value |
|
|
Encode a year and day of year to a TDateTime value |
|
|
Encode a year, month, week of month and day of week to a TDateTime value |
No notes exist for this page yet.