Chapter Contents

Previous

Next
SYSTIME

SYSTIME



Contains the time a SAS job or session began executing

Type: Automatic macro variable (read only)


Details
Example
Using SYSTIME to Display the Time that a SAS Session Started


Details

The value is displayed in TIME5. format and does not change during the individual job or session.


Example

Example 1: Using SYSTIME to Display the Time that a SAS Session Started

The following statement displays the time a SAS session started.

%put This SAS session started running at: &systime;

Executing this statement at 3 p.m. when your SAS session began executing at 9:30 a.m. writes to the SAS log:

This SAS session started running at: 09:30


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.