TIME Function

Returns the current time of day as a numeric SAS time value.

Category: Date and Time

Syntax

TIME()

Example

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.;