|
|
![]() |
|
![]() |
||
|
Introduction SAS provides many informats for reading raw data values in various forms. If you completed the lesson , you worked with informats to read standard and nonstandard data. In this lesson, you learn how to use a special category of SAS informats called date and time informats. These informats enable you to read a variety of common date and time expressions. After you read date and time values, you can also perform calculations with them. |
options yearcutoff=1920;
data perm.aprbills;
infile aprdata;
input LastName $8. @10 DateIn mmddyy8. +1 DateOut
mmddyy8. +1 RoomRate 6. @35 EquipCost 6.;
Days=dateout-datein+1;
RoomCharge=days*roomrate;
Total=roomcharge+equipcost;
run;
|
|
Time to CompleteThis lesson contains pages and takes approximately 1 hour to complete. |
ObjectivesIn this lesson, you learn how
|
PrerequisitesBefore taking this lesson, you should complete the following lessons:
|
| Copyright
© 2003 SAS Institute Inc.,
Cary, NC, USA. All rights reserved. Terms of Use & Legal Information | Privacy Statement |
||