Reading Date and Time Values | |
Reading Dates and Times Using
Informats |
DATEw. Informat
The DATEw. informat reads dates of the form 30May2000. |
General form, values read with DATEw. informat:
where
|
You may place blanks or other special characters between the day, month, and year, as long as you increase the width of the informat to include these delimiters. Here are some date expressions you can read using the DATEw. informat: |
Date Expression | SAS Date Informat |
---|---|
30May00 | DATE7. |
30May2000 | DATE9. |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.