Writes time values as the number of minutes and seconds since
midnight.
Category: |
Date and Time
|
Alignment: |
right
|
-
w
-
specifies the width of the output field.
Default: |
5 |
Range: |
2-20 |
Tip: |
Set w
to a minimum of 5 to write a value that represents minutes and seconds. |
-
d
-
specifies the number of digits to the right
of the decimal point in the seconds value. Therefore, the SAS time value
includes fractional seconds. This argument is optional.
Range: |
0-19 |
Restriction: |
must be less than w |
The MMSS format uses asterisks to format values that
are outside the time range 0-24 hours, such as datetime
values.
The example table uses the input value of 4530.
SAS Statement |
Results |
|
----+----1
|
put time mmss.;
|
75:30
|
|
Formats:
|
|
Functions:
|
|
Informat:
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.