TimeNumber function (LotusScript® Language)
Returns a time value for a specified hour, minute, and second.
Syntax
TimeNumber ( hour , minute , second )
TimeSerial is acceptable in place of TimeNumber.
Elements
hour
A numeric expression representing an hour (0 to 23, inclusive).
minute
A numeric expression representing a minute (0 to 59, inclusive).
second
A numeric expression representing a second (0 to 59, inclusive).
Return value
TimeNumber returns a Variant of DataType 7 (Date/Time). Its value represents time of day as a fraction of 24 hours, measured from midnight.
Usage
You can use expressions for hour, minute, and second to compute a time relative to another time. For example:
TimeNumber(3, 5, 5 - 10)
computes the time 10 seconds before 3:05:05 AM (the result is 3:04:55 AM).