Chapter Contents

Previous

Next
MMSSw.d

MMSSw.d



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

Category: Date and Time
Alignment: right


Syntax
Syntax Description
Examples
See Also

Syntax

MMSSw.d

Syntax Description

w
specifies the width of the output field.
Default: 5
Range: 2-20
Tip: Make w at least 5 to write a value that represents minutes and seconds.

d
optionally 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


Examples

The example table uses the input value of 4530.

SAS Statements Results

----+----1
put time mmss.;
75:30


See Also

Formats:

HHMMw.d
TIMEw.d

Functions:

HMS
MINUTE
SECOND

Informat:

TIMEw.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.