Home iWeb Logon Internet Meetings Contact Us Site Map

Z Programs

Z.date.text



This program takes a date and returns a 'text' form of it.
               

Arguments:       A date in (YYYYMMDD or MM/DD/YY or MM/DD/YYYY)
B = format indicator:   Use M, m, N, n, D, d, Y, y.
Capital letter means long form; Small letter means abbreviated form)
(All other characters are taken literally.)
Examples:
September 03, 1990    "M D, Y"
September 3, 90         "M d, y"
Sep 03, 1990              "m D, Y"
03Sep90                    "Dmy"
3 Sep 90                    "d m y"
3-Sep-90                   "d-m-y"
09/03/90                    "N/D/Y"
[For text month only:]
C = "I"  to print month with inital capital only, e.g, September or Sep.
C = "A"  to print month with all capitals, e.g., SEPTEMBER or SEP
                  
               DEFAULTS:
                 B = "m d, Y"  \_____  Sep 3, 1990
                 C = "I"       /
  

Posted: August 03, 2001

Return to list of Z Programs