AfxUnixTimeStrfunction
Retuns the current Unix time based on the specified mask, e.g. "hh':'mm':'ss"."
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION AfxUnixTimeStr (BYVAL unixTime AS DWORD, BYREF wszMask AS WSTRING, BYVAL lcid AS LCID = LOCALE_USER_DEFAULT) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
unixTime | The Unix time value. | |
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 Unix time.
Description
Retuns an Unix time based on the specified mask, e.g. "hh':'mm':'ss"."
Picture string used to form the time.
Example
PRINT AfxUnixTimeStr(AfxWindowsInstallDate, "hh':'mm':'ss")
Reference
- Include file
AfxTime.inc - Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures