DtvLong dal_bsf_set_dat (str)

Sets the current date format for the mask representation of data fields.

Input Parameters Significance
char *str date format string

Output Parameters Significance
none -

Return Code Significance
0 no error
1 wrong format specification

The date format consists of the positions for the data content and the delimiters. The date format string must be the first block of the date string, while the time is the second block. Delimiters must not be numeric characters.

Syntax for date block:

Syntax for time lock:

Example: date format strings:
Format Example
Y/M/D H:M:S 1994/05/17 12:20:31
D.M.Y H:M:S 17.05.1994 12:20:31

D-A Y:H-M-S

Please note that this format is not supported!

17-MAY 1994:12-20-31