Reading Dates and Times with Informats

Overview

SAS date and time informats read date and time expressions and convert them to SAS date and time values. Like other SAS informats, date and time informats have several parts:
  • an informat name
  • a field width
  • a period delimiter
SAS informat names indicate the form of date expression that can be read using that particular informat. This chapter covers commonly used date and time informats such as these:
  • DATEw.
  • DATETIMEw.
  • MMDDYYw.
  • TIMEw.
There are several ways to represent a date. For example, all the following expressions represent the date October 15, 2017. Each of these common date expressions can be read using the appropriate SAS date informat. ...

Get SAS Certified Specialist Prep Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.