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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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