Converts a value with a data type of text or time to a date-time value.
@ToTime( value )
value
Text, time, or list thereof. A value that cannot be converted returns the error, "The value cannot be converted to a Number."
time
The value converted to a time value.
This function is useful for ensuring that a value has a time data type before using it in functions that require time values as parameters.
If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements. A failure occurs if any element cannot be converted.
@ToTime("2/29/08" : "3/1/08")
@Adjust(@ToTime(date);0;0;2;0;0;0)
@Prompt([Ok];"Delivery";@Text(@Adjust(@ToTime(holiday);0;0;2;0;0;0)))
DateValue function of LotusScript® language
TimeValue function of LotusScript language
CDat function of LotusScript language