FORMULA LANGUAGE


@TextToTime
Example

Converts a text string to a time­date value, where possible.

Syntax

@TextToTime( string )

Parameters

string


Return value

time-date


Usage

This function is useful for converting a date within a text field to a value that can be used for computation in a time­date field.

"Today", "Tomorrow", and "Yesterday" are the only legal strings to use to represent relative dates. The formula @TextToTime("Next week") returns a blank because the text string "Next week" cannot be converted to a time­date value.

@TextToTime returns an error If you try to pass anything besides a string into it, including a time-date value.

Language cross-reference

DateValue function of LotusScript language

TimeValue function of LotusScript language

CDat function of LotusScript language

Example
See Also