BookmarkSubscribeRSS Feed
sarahzhou
Quartz | Level 8

Hi, 

 

How do I see the data loading time zone of my data base from the server?

When I select data = datepart(date, &yesterday.), then the data loaded from 4am from yesterday was missing from the selection output, I suspect it's a time zone might be difference from my working station with my server.

 

How do I fix the time zone problem?

 

I am using sas 9.4

 

Thank you!

 

1 REPLY 1
LinusH
Tourmaline | Level 20

To see/set the timezone for your SAS server, you can use the TIMEZONE options and the SYSTIMEZONE automatic macro variable respectively.

If you database resides in another timezone than your SAS server you need to come with some DB specific way doing this. If this is the case, what database it?

Data never sleeps

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 815 views
  • 0 likes
  • 2 in conversation