Advantage Client Engine
Specifies the date format for dates represented as character strings for a given connection.
UNSIGNED32 |
AdsSetDateFormat60( ADSHANDLE hConn, UNSIGNED8 *pucFormat ); |
hConn (I) |
Handle of connection to set the date format on. If this is 0, it is the same as calling AdsSetDateFormat. |
pucFormat (I) |
Specifies the date format to be set. The date format must contain two or more occurrences of the letters D, M, and Y respectively (e.g., "MMDDYYYY"). The default value is "MM/DD/YYYY". |
AdsSetDateFormat60 can be used to set the date format for a specific connection. This setting affects how the Advantage Client Engine interprets date strings passed to the Advantage Client Engine from the calling application. It also defines how the Advantage Client Engine formats dates passed back from the Advantage Client Engine to the calling application. AdsSetDateFormat60 can be used to specify separators in the date format. For example, "DD/MM/YYYY" and "YYYY-MM-DD" are both valid date formats.
See Also