omron — $TIME string function

$TIME string function NOTE: The $TIME() function converts passed arguments (instead of the system time) when either the date or the time parameter is supplied. However, the function always tries to generate a string representation of both parameters. You get the date 01-Jan-80 if you do not provide a date value. The time substring is 00:00:00 if you do not specify a time value. The following expressions can be used to return only the date and the time, respectively:

$date = $MID($TIME(date,),1,9) $time = $MID($TIME(,time),11,8) Related Keywords TIME monitor command TIME program instruction TIME real-valued function $TIME4 string function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 533 Element Description MAY, JUN, JUL, AUG, SEP, OCT, NOV, or DEC) yy The year, where 80 to 99 represent 1980 through 1999, respectively, and 00 to 79 represent 2000 through 2079, respectively. hh The hour of the day (0 to 23) mm Minutes past the hour (0 to 59) ss Seconds past the minute (0 to 59)