Functions and CALL Routines |
Returns the minute from a SAS time or datetime value.
-
time
-
is a numeric constant, variable, or expression
that specifies a SAS time value.
-
datetime
-
is a numeric constant, variable, or expression
that specifies a SAS datetime value.
The MINUTE function returns an integer
that represents a specific minute of the hour. MINUTE always returns a positive
number in the range of 0 through 59.
SAS Statements |
Results |
time='3:19:24't;
m=minute(time);
put m;
|
19
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.