DT_SetTimeΒΆ
DT_SetTime sets the value to the specified time-only value.
- rvTime = DT_SetTime(rmTime)
Return Value
rvTime is a real vector. If the time is invalid e.g. 26:10:10
the function
returns the value -1e6 (1000000).
Parameters
- rmTime
rmTime is a matrix with 3 columns.
Value
Meaning
rmTime[;1]
Hour (0 to 23)
rmTime[;2]
Minute (0 to 59)
rmTime[;3]
Second (0 to 59)
Example
* DT_SetTime([0, 0, 0; 12, 0, 0; 23,59,10])
0.0000
0.5000
0.9994
See also
Overview Date and Time, DT_GetCurrentTime, DT_GetYear, DT_GetMonth, DT_GetHour, DT_GetMinute, DT_GetSecond, DT_GetDayOfWeek, DT_GetDayOfYear
id-1766106