AfxVariantDateTimeToStrfunction
Converts a DATE_ type to a string.
Syntax
FUNCTION AfxVariantDateTimeToStr (BYVAL vbDate AS DATE_, BYVAL lcid AS LCID = LOCALE_USER_DEFAULT, BYVAL dwFlags AS DWORD = 0) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
vbDate | A variant representation of time. | |
lcid | Optional. The language identifier used for the conversion. Default is LOCALE_USER_DEFAULT. | |
dwFlags | Optional. A value made from one or more flags. The following table shows the flags that can be set for this parameter. |
Return value
The formatted date and time.
Description
Converts a DATE_ type to a string.
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:1003
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures