HomeHome iWeb LogoniWeb Logon Internet MeetingsInternet Meetings Contact UsContact UsSite MapSite Map
Solutions By DepartmentSoftwareInterfaces & IntegrationNPR & Other ServicesInformation & ResourcesAbout Us

Z Programs

Z.date.clin.to.text



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

Arguments:       A = date  (days since 3/1/1980 or S(0))
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.
= "A"  to print month with all capitals, e.g., SEPTEMBER or SEP
DEFAULTS:
B = "m d, Y"  \_____  Sep 3, 1990
C = "I"       /

Example Call     %Z.date.clin.to.text(7356,”M D, Y”) returns “April 21, 2000

Posted: August 03, 2001

Return to list of Z Programs