AfxSystemTimeToTimeStrfunction
Converts a SYSTEMTIME type to a string containing the time based on the specified mask, e.g. "hh':'mm':'ss".
Syntax
FUNCTION AfxSystemTimeToTimeStr (BYREF st AS SYSTEMTIME, BYREF wszMask AS WSTRING, BYVAL lcid AS LCID = LOCALE_USER_DEFAULT) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
st | A SYSTEMTIME structure. | |
wszMask | A picture string that is used to form the time. | |
lcid | Optional. The language identifier used for the conversion. Default is LOCALE_USER_DEFAULT. |
Return value
The formatted time.
Description
Converts a SYSTEMTIME type to a string containing the time based on the specified mask, e.g. "hh':'mm':'ss".
Picture string used to form the time.
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:1073
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures