Skip to main content
ARS Home » Research » Publications at this Location » Publication #184083

Title: HOW TO RECOGNIZE AND USE CALENDAR DATES

Author
item TOOKER, MELVIN

Submitted to: Proceedings of SAS Users Group
Publication Type: Proceedings
Publication Acceptance Date: 8/1/2005
Publication Date: 9/11/2005
Citation: Tooker, M.E. 2005. How to recognize and use calendar dates. Proceedings of 18th Annual Northeast SAS Users Group Conference, September 11-14, 2005, Portland, Maine. 2 pp.

Interpretive Summary: A frequent concern of beginning SAS programmers is how to make a SAS program recognize calendar dates in various formats. For example, Sept., SEP, 9, 09, /9, /09, and even $9 are all valid representations for the month of September. Although a program may currently read a date correctly, a new challenge arises when the data provider alters date formats or new users remotely enter data.

Technical Abstract: A frequent concern of beginning SAS programmers is how to make a SAS program recognize calendar dates in various formats. For example, Sept., SEP, 9, 09, /9, /09, and even $9 are all valid representations for the month of September. Although a program may currently read a date correctly, a new challenge arises when the data provider alters date formats or new users remotely enter data.