Converts a given timestamp to a formatted string. You can choose from several date and time formats, including formats that return only the date or the time.
<HsvResourceManager>.GetFormattedDateTime(lFormatType, dDateTime)
Long (ByVal). The format of the string to return. Valid values are represented by the HFMConstants type library constants listed in Date and Time Format Constants. | |
Variant. The formatted string.
The following function uses the 24-hour time format to return the time segment of a given timestamp.