Skip to content

Instantly share code, notes, and snippets.

@benjamincorcoran
Created May 12, 2019 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjamincorcoran/17a97dd5485aa9997c43b8dc3c25d330 to your computer and use it in GitHub Desktop.
Save benjamincorcoran/17a97dd5485aa9997c43b8dc3c25d330 to your computer and use it in GitHub Desktop.
SAS EG Program Timer
%LET TAB = %STR( );
%PUT ;
%PUT &TAB.############################### ;
%PUT &TAB.# SAS CODE SUMMARY #;
%PUT &TAB.# TIME TAKEN: %SYSFUNC(PUTN(%SYSEVALF(%SYSFUNC(MDY(1,1,1960))+%SYSFUNC(TIME())-&LAUNCH_TIME_START.),e8601tm15.6)) #;
%PUT &TAB.# #;
%PUT &TAB.###############################;
%LET LAUNCH_TIME_START = %SYSFUNC(TIME());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment