Previous Page | Next Page

Functions and CALL Routines

TIME Function



Returns the current time of day as a numeric SAS time value.
Category: Date and Time

Syntax
Examples

Syntax

TIME()


Examples

SAS assigns CURRENT a SAS time value corresponding to 14:32:00 if the following statements are executed exactly at 2:32 PM:

current=time();
put current=time.;

Previous Page | Next Page | Top of Page