Time Procedure |
Version 7 |
Returns the current or specified date/time time portion.
[ dtTime = ] Time ( [ dt ] )
The Time procedure syntax has the following parts:
Name |
Type |
Description |
dtTime |
DateTime |
Return value: time portion of given or current date/time |
dt |
[Val] DateTime |
Date time if given |
If date time is not specified, current date time is used.
print Time() ! prints current time "1:29:10 PM"
print Time(dt) ! prints time part of "dt" (no date)
Date, STime, Hour, Minute, Second, MillSecond, Tick, DateTime Data Type, Now