DT_SetDate sets the value to the specified date-only value.
Return Value
rvDate is a real vector. If the date/time invalid for example February 29, 1998 the function returns the value -1e6 (1000000).
Parameters
rmDate is a matrix with 3 columns.
| Value | Meaning |
|---|---|
| rmDateTime[;1] | Year (100 to 9999) |
| rmDateTime[;2] | Month (1 to 12) |
| rmDateTime[;3] | Day (1 to 31) |
Comment
For more information about the DT_-functions see DT_GetCurrentTime.
Example
* DT_SetDate([1998, 1, 15; 1998, 1, 16])
35810.0000
35811.0000
See also
Overview Date and Time, DT_GetCurrentTime, DT_GetYear, DT_GetMonth, DT_GetHour, DT_GetMinute, DT_GetSecond, DT_GetDayOfWeek, DT_GetDayOfYear
id-1240287