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
For more information about the meaning of the fmt argument, see Date and Time Format Strings section.
Note: StringToTime cannot perform conversions on DateTime strings. Use StringToDateTime.