_RetDateTimeStr( ) API Library Routine

See Also   Example

Sets the library return value to a datetime.

Syntax

void _RetDateTimeStr(char FAR *string)
char FAR *string;            /* Datetime string. */

Remarks

Specify the datetime string in mm/dd/year hh:mm:ss format, in which the year may be either two or four digits. See CTOT( ) for a list of valid datetime formats for the datetime string.

For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.