GETFORDER C-3





Copyright (C) 1994-95 Conetic Software Systems, Inc. All names, products, and services mentioned are the trademarks of their respective organizations.



NAME


getforder - get input date order

SYNOPSIS


#include 

int getforder()

DESCRIPTION


Getforder returns an integer indicating the order that date
values should be interpreted when an ambiguous form is used. This
function is called by fatodate when the input does not match the
format.

The supported values are:

     Order          Format 
     0         m/d/y (USA) 
     1         d/m/y (Europe & Canada) 
     2         y/m/d (Japan) 
 
The use of this function allows a string of 6 digits with or
without separator characters (01/02/86 or 010286) to be
interpreted correctly.

The input date order is retrieved from the country format
structure (see fcountry(C-3)).

SEE ALSO


fcountry(C-3), fatodate(C-3), atodate(C-3)
C/Base Reference Manual Chapter 13, "Formatting Data Values"