Animal Improvement Programs Site Logo
ARS Home About Us Helptop nav spacerContact Us En Espanoltop nav spacer
Printable VersionPrintable Version     E-mail this pageE-mail this page
Agricultural Research Service United States Department of Agriculture
Search
  Advanced Search
Programs and Projects
ARS Publication Page
Scientific Presentations
Popular Press Publications
DHI Reports
 

Research Project: IMPROVING GENETIC PREDICTION OF ECONOMIC MERIT OF DAIRY ANIMALS

Location: Animal Improvement Programs

Title: HOW TO RECOGNIZE AND USE CALENDAR DATES

Author

Submitted to: Proceedings of SAS Users Group
Publication Type: Abstract
Publication Acceptance Date: August 1, 2005
Publication Date: September 11, 2005
Citation: Tooker, M.E. 2005. How to recognize and use calendar dates [abstract]. Proceedings of 18th Annual Northeast SAS Users Group Conference, September 11-14, 2005, Portland, Maine. p. 38.

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. A variety of techniques are available to SAS programmers for reading calendar date formats. Some methods are as simple as changing date formats from character to numeric while others require more complex programming. However, these steps are necessary if the unformatted data is to be used in making decisions later in the program. Several methods to format dates into useable data where different forms of entries exist will be presented.

   

 
Project Team
Norman, H - Duane
Van Tassell, Curtis - Curt
Vanraden, Paul
Wiggans, George
Cole, John
 
Publications
   Publications
 
Related National Programs
  Food Animal Production (101)
 
 
Last Modified: 11/05/2008
ARS Home | USDA.gov | Site Map | Policies and Links 
FOIA | Accessibility Statement | Privacy Policy | Nondiscrimination Statement | Information Quality | USA.gov | White House