![]() Chapter Contents |
![]() Previous |
![]() Next |
| HHMMw.d |
| Category: | Date and Time |
| Alignment: | right |
| Syntax | |
| Syntax Description | |
| Details | |
| Comparisons | |
| Examples | |
| See Also |
Syntax |
| HHMMw.d |
| Default: | 5 |
| Range: | 2-20 |
| Requirement: | must be less than w |
| Range: | 1-19 |
| Details |
The HHMMw.d format writes SAS datetime values in the form hh:mm, where
SAS rounds hours and minutes that are based on the value of seconds in a SAS time value.
| Comparisons |
| Examples |
The example table uses the input value of 46796, which is the SAS time value that corresponds to 12:59:56 PM.
| SAS Statements | Results |
|---|---|
----+----1 |
|
put time hhmm.; |
13:00 |
| See Also |
| Formats:
| |||||||||||
| Functions:
| |||||||||||
| Informat:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.