Second Procedure |
Version 7 |
Returns the current or specified date/time second (0-59).
[ lSecond = ] Second ( [ dt ] )
The Second procedure syntax has the following parts:
Name |
Type |
Description |
lSecond |
Long |
Return value: seconds, between 0 and 59 |
dt |
[Val] DateTime |
Date time if given |
If date time is not specified, current date time is used.
print Second() ! prints current second "17"
print Second(dt) ! prints second of "dt"
Day, Month, Year, Hour, Minute, MillSecond, Weekday, DateTime Data Type