StringToTime

Description

Converts a string into a time.

Syntax

StringToTime ( str, fmt)

Arguments

str is a string representation of a time, and

fmt is a string identifying the format of str.

Remarks

Refer to the section titled Date and Time Format Strings for more information on the meaning of the fmt argument.

StringToTime cannot perform conversions on DateTime strings. Use StringToDateTime.