Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






@ToTime

Converts a value with a data type of text or time to a date-time value.

Note This @function is new with Release 6.

Syntax

@ToTime(value)

Parameters

value

Text, time, or list thereof. A value that cannot be converted returns the error, "The value cannot be converted to a Number."

Return value

time

The value converted to a time value.

Usage

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.

Language cross-reference

DateValue function of LotusScript language

TimeValue function of LotusScript language

CDat function of LotusScript language

See examples

Examples: @ToTime
Related topics
Converting data types
@TextToTime




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009