Chapter Contents

Previous

Next
MINUTE

MINUTE



Returns the minute from a SAS time or datetime value

Category: Date and Time


Syntax
Arguments
Details
Examples
See Also

Syntax

MINUTE(time | datetime)

Arguments

time
specifies a SAS expression that represents a SAS time value.

datetime
specifies a SAS expression that represents a SAS datetime value.


Details

The MINUTE function returns an integer that represents a specific minute of the hour. MINUTE always returns a positive number. Missing values are ignored.


Examples

SAS Statements Results
time='3:19:24't;
m=minute(time);
put m;
 

19


See Also

Functions:

HOUR
SECOND


Chapter Contents

Previous

Next

Top of Page

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