Printer Version Table of Contents Project Home Page
.APPENDIX....: Symbols used in Date Formats
.DISCUSSION..:
The following symbols are used in specifying input (/I) and output (/O) date formats:

    SYMBOL  EXAMPLE   MEANING
    ------  -------   -------------------------------------
    cc        19      century
    yy        93      year
    mm        02      month
    zm         2      month without leading zero
    dd        08      day
    zd         8      day   without leading zero
    mn       February month name
    mn3      Feb      month name, first 3 characters only
    dow      Tuesday  day of week
    dow3     Tue      day of week, first 3 characters only
    dow#      3       day of week as a number (Sunday=1, Monday = 2, etc.)
    today             is a "pseudodate" representing the current date
    t                 is an alias for the "today" pseudodate
    hh:mm    09:05    hours and minutes
    hhmm     0905     hours and minutes
    ss        13      seconds

PSEUDODATES

t (or today)

can be used with either /A or /B, e.g. /Atoday or /At.

This is the default for both /A and /B. That is, if /A is not

specified, /At is assumed, and the same for /B.

NOTE THAT "Today" as a date specification operates independently of any input format. You need to specify an input format (either explicitly via the /I parameter, or implicitly by accepting the default value of /I) only for input dates that are supplied to Fdate in some other way than via the "today" pseudodate: as a date literal, a filename, etc.

.EXAMPLES....:
    rem Get the date that is 90 days from today
    Fdate /Fadd /N90 /Atoday /Omm-dd-ccyy
    Fdate /Fadd /N90 /At     /Omm-dd-ccyy

    rem determine if this year is a leapyear
    Fdate /Ff /At /OLY


tttt      When used in place of a 4-digit CCYY string, "tttt"
          will cause Fdate to use today's 4-digit year (CCYY).

tt        When used in place of a 2-digit DD, MM, or YY string,
          "tt" will cause Fdate to use today's day-of-the-month,
          month, or 2-digit year, respectively.

          Note that "tt" can NOT be used for the YY portion of a CCYY
          input year.  The following, for example, is NOT valid:
               Fdate /Ff /Imm-dd-ccyy /A01-01-19tt /Od1

.EXAMPLES....:
     Fdate /Ff /Imm-dd-ccyy /A01-01-tttt
     Fdate /Ff /Imm-dd-yy   /A01-01-tt

     rem report the 15th day of this month, this year
     Fdate /Ff /Imm-dd-ccyy /Att-15-tttt

     rem Show the first Monday in the second quarter of this year
     Fdate /Fw /Iccyymmdd /Atttt0401 /D2 /N1  /P"First Monday in QTR#2: "

     rem Show the last Friday on/before the 15th of this month.
     Fdate /Fw /Iccyymmdd /Atttttt15 /D6 /N-1 /P"Friday before the 15th: "