string2time()
Description
This function attempts to interpret the value in sValue
using the format string in sFormat
and convert
that to a valid time, which will be the return value. The hours and
minutes values are required or else the return value will be
.nul
.
Prototype
string2time
(
string
,
string sValue
)
sFormat
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
sValue | None | string | |
sFormat | None | string |