| Functions and CALL Routines |
| Category: | Date and Time |
| Syntax | |
| Arguments | |
| Examples | |
| See Also |
Syntax |
| HMS(hour,minute,second) |
The HMS function returns a positive numeric value that represents a SAS time value.
| Examples |
The following SAS statements produce these results:
| SAS Statements | Results |
|---|---|
hrid=hms(12,45,10); put hrid / hrid time.; |
45910 12:45:10 |
| See Also |
|
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.