MMSSw.d Format

Writes SAS time values as the number of minutes and seconds since midnight.

Category: Date and Time
Alignment: Right

Syntax

MMSSw.[d]

Arguments

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.

Range 0–19
Restriction must be less than w

Example

The example table uses the SAS input value of 4530.
Statements
Results
 
----+----1
select put(4530,mmss.);
75:30

See Also