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






TimeValue function

Returns the time value represented by a string expression.

Syntax

TimeValue ( stringExpr )

Elements

stringExpr

A string expression that represents a valid date/time, or a Variant of DataType 7 (Date/Time). It can use either 12-hour or 24-hour format; for example, both "14:35" and "2:35PM" are valid. If you omit the seconds value in the stringExpr argument, it defaults to zero (0).

Return value

TimeValue returns a Variant of DataType 7 that contains a fractional date/time value.

Usage

If stringExpr specifies a date, TimeValue validates the date, but omits it from the return value.

Language cross-reference

@TextToTime function in formula language

See examples

Examples: TimeValue function
Related topics
LotusScript Language Reference: Q through T
DateValue function
Time function
Time statement
TimeNumber function
Timer function




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009