Returns a SAS time value from hour , minute, and second values
Category: Date and Time
HMS ( hour,minute,second )
hour
is numeric.
minute
is numeric.
second
is numeric.
The HMS function returns a positive numeric value that represents a SAS time value.
The following SAS statements produce these results:
SAS Statements | Results |
---|---|
hrid=hms(12,45,10); put hrid / hrid time.; | 45910 2:45:10 |
Functions:
'DHMS Function' on page 496
'HOUR Function' on page 579
'MINUTE Function' on page 647
'SECOND Function' on page 819