| Functions and CALL Routines |
| Category: | Date and Time |
| Syntax | |
| Arguments | |
| Examples |
Syntax |
| TIMEPART(datetime) |
| Examples |
SAS assigns TIME a SAS value that corresponds to 10:40:17 if the following statements are executed exactly at 10:40:17 a.m. on any date:
datim=datetime(); time=timepart(datim);
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.