[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
           APPENDIX B - date_convert() FORMATS

    The following formats are supported by date_convert():

    Type (id)    Data Type      Format              Notes
    ---------    ---------      ------              -----
        1        char           MM-DD-YY            US
        2         "             DD-MM-YY            Europe
        3         "             YY-MM-DD            Japan

        4        double         YYMMDD              Calendar
        5          "            YYYYMMDD               "     w/cent
        6          "            hashed              Julian Type E
        7          "            YYDDD                 "    Type A
        8          "            YYYYDDD               "    Type B

        9        struct date                        see dos.h
       10        struct ddate                       see datehk.h

       11        char           Mon DD, YYYY        short, no lead 0
       12         "             Month DD, YYYY      full, no lead 0

       13         "             MM/DD/YY            US
       14         "             DD/MM/YY            Europe
       15         "             YY/MM/DD            Japan

       16         "             MM-DD-YY            no lead 0
       17         "             DD-MM-YY                "
       18         "             YY-MM-DD                "

       19         "             MM/DD/YY            no lead 0
       20         "             DD/MM/YY                "
       21         "             YY/MM/DD                "

       22         "             MM-DD-YYYY          century
       23         "             DD-MM-YYYY             "
       24         "             YYYY-MM-DD             "

       25         "             MM/DD/YYYY          century
       26         "             DD/MM/YYYY             "
       27         "             YYYY/MM/DD             "

       28         "             MM-DD-YYYY          century, no lead 0
       29         "             DD-MM-YYYY                   "
       30         "             YYYY-MM-DD                   "

       31         "             MM/DD/YYYY          century, no lead 0
       32         "             DD/MM/YYYY                   "
       33         "             YYYY/MM/DD                   "

       34         "             DD-MON-YY
       35         "             DD-MON-YY           no lead 0
       36         "             DD-MON-YYYY         century
       37         "             DD-MON-YYYY            "    no lead 0

       38         "             Mon DD, YYYY        short
       39         "             Month DD, YYYY      full

       40         "             DD MON YY
       41         "             DD MON YY           no lead 0
       42         "             DD MON YYYY         century
       43         "             DD MON YYYY            "    no lead 0


    Unless otherwise specified, a date format contains leading zeros.

    Refer to date_convert() for further specifications.

See Also: date_convert()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson