version 2003
PA_EvalDate (string; day; month; year)
| Parameter | Type | Description | |
| string | char * | The string to convert in date | |
| day | short * | Pointer the the day of the string | |
| month | short * | Pointer the the month of the string | |
| year | short * | Pointer the the year of the string | 
Description
The routine PA_EvalDate returns in *day, *month, and *year the values of string, once converted to a date.
This works like the Date 4th Dimension function. Refer to the 4D Language Reference manual for more information.
Depending on default settings or on previous calls to PA_UsePStrings or PA_UseCStrings, string must be a Pascal or a C string.
Example
   short   d, m, y;
   PA_EvalDate("12/31/2000", &d, &m, &y);
   // Now, d == 31, m == 31, and y == 2000
See Also
Date.
Error Handling
PA_GetLastError always returns eER_NoErr