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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 750 views
  • 0 likes
  • 2 in conversation