Live webinar

Ask the Expert: SAS Macro, dates and times

Part of the SAS Ask the Expert series
Date: 25th February • Time: 10am-11am • Cost: Complimentary

About the Webinar 

SAS macro variables are all character values, so macro has no features for handling dates or times. The paradox is that macro code is an important tool for inserting dates and times into SAS code. This webinar discusses techniques to insert dates and times, and how to store dates and times in macro variables during macro or data step execution to simplify insertion in code.

What you'll learn:

  • Creating and resolving macro variables during macro or data step execution
  • The automatic macro variables &systime and &sysdate vs. user-built macro variables
  • Creating utility macro variables containing current times and dates
  • Inserting dates and times into code

About our Expert


Peter Hobart

Sr Associate Customer Success Manager, SAS

Peter is a certified SAS advanced programmer, data integration developer and SAS platform administrator. He has worked at SAS for 26 years, in customer support, education, architecture and now customer success. He has written several SAS courses and questions for the SAS certification exams, presented at SAS forums and customer events. 

Have a SAS profile? To complete this form automatically Sign In

*
*
*
*
 
 

All personal information will be handled in accordance with the SAS Privacy Statement.

 
  Yes, I would like to receive occasional emails from SAS Institute Inc. and its affiliates about SAS products and services. I understand that I can withdraw my consent at any time by clicking the opt-out link in the emails.
 
 

You look like our next Explorer! 
Join our global customer hub.

Join SAS Analytics Explorers to learn more SAS through multiple minor challenges in an interactive and fun environment Earn points, and exchange them for rewards!