Input Parameters | Significance |
char *dt1 | first date value |
char *dt2 | second date value |
Output Parameters | Significance |
none | - |
Return Code | Significance |
0 | date values are identical |
1 | first data value bigger than second date value |
-1 | first data value smaller than second date value |
The date expressions must be passed in the correct data base format. For this reason you should always call the function dal_bsf_chk_dat followed by dal_bsf_fmt_dat for both values before comparing date expressions in mask format.
The pointer to the first and second date value must point to a memory space which is dimensioned for the maximum possible length of 21.