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

Hi all,

recently I've found that the date 2936547  (i.e. 31dec9999)  is formatted differently in SAS (9.4) and VA (7.4):

SAS seems "correct", while VA formats this date as 29dec9999.

 

So, it seems that SAS uses the "4000" rule for leap years (there is no 29feb4000 and 29feb8000), while VA does not.

 

Is this correct? Is the "4000" rule valid and accepted?

 

Thank you very much,

Carlo

 

1 ACCEPTED SOLUTION

Accepted Solutions
Amir
PROC Star

Hi,

 

Looks like this question has been asked before, but without a firm solution:

 

https://communities.sas.com/t5/SAS-Visual-Analytics/false-quot-high-value-quot-for-a-date-in-visual-...

 

Might be worth checking how the days 28feb4000 and 01mar4000 are represented and see if they are 1 or 2 days apart.

 

Getting in touch with SAS Technical Support might also be a way forward if no one else has an answer.

 

 

Regards,

Amir.

View solution in original post

1 REPLY 1
Amir
PROC Star

Hi,

 

Looks like this question has been asked before, but without a firm solution:

 

https://communities.sas.com/t5/SAS-Visual-Analytics/false-quot-high-value-quot-for-a-date-in-visual-...

 

Might be worth checking how the days 28feb4000 and 01mar4000 are represented and see if they are 1 or 2 days apart.

 

Getting in touch with SAS Technical Support might also be a way forward if no one else has an answer.

 

 

Regards,

Amir.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

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