AfxVariantDateToStrfunction
Converts a DATE_ type to a string containing only the date.
Syntax
FUNCTION AfxVariantDateToStr (BYVAL vbDate AS DATE_, BYVAL lcid AS LCID = LOCALE_USER_DEFAULT) 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. |
Return value
The formatted date.
Description
Converts a DATE_ type to a string containing only the date
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:1015
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures