BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
RexDeus9
Quartz | Level 8

Hi,

 

Tired of browsing web info that leads no where, can someone tell me how do we set the Time Zone for the entire platform?

 

 

Thx.

 

1 ACCEPTED SOLUTION

Accepted Solutions
gwootton
SAS Super FREQ
That's the correct file. The syntax in the documentation indicates the value be enclosed in quotes (i.e. TIMEZONE='EST'), but in my testing it seemed to accept it with or without.

TIMEZONE= System Option
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/p15siqs0s00e50n1wuuvygzkr14r.htm
--
Greg Wootton | Principal Systems Technical Support Engineer

View solution in original post

5 REPLIES 5
gwootton
SAS Super FREQ
There is a timezone option you can specify for the SAS session:

Specifying Time Zones in SAS
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/n0px72paaaqx06n1ozps024j78cl.htm

Other than that I think mostly it relies on the underlying OS for time/date/timezone information.
--
Greg Wootton | Principal Systems Technical Support Engineer
RexDeus9
Quartz | Level 8

Hi Gwootton,

 

Thanks for the reply. Unfortunately it doesn't answer the question for the 'SAS Platform'. The documentation on the session Time Zone is plentiful, just not what we're looking for here.

 

 

Thx.

 

gwootton
SAS Super FREQ
The answer for the "SAS Platform" was my statement about the underlying OS.

If your question is how to set that option for all SAS sessions, you could set it in <SASHome>/SASFoundation/9.4/sasv9_local.cfg.
--
Greg Wootton | Principal Systems Technical Support Engineer
RexDeus9
Quartz | Level 8

Hi,

 

Yes, that's what I'm looking for. So I guess something like this (For Eastern Time Zone):

 

File: <SASHome>/SASFoundation/9.4/sasv9_local.cfg

TIMEZONE=EST

 

Thx

gwootton
SAS Super FREQ
That's the correct file. The syntax in the documentation indicates the value be enclosed in quotes (i.e. TIMEZONE='EST'), but in my testing it seemed to accept it with or without.

TIMEZONE= System Option
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/p15siqs0s00e50n1wuuvygzkr14r.htm
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1399 views
  • 1 like
  • 2 in conversation