BookmarkSubscribeRSS Feed
Aquarian27
Calcite | Level 5

Hi

Suppose I have three centuries  i.e. 1800,1900 and 2000 in the data having 2-digit format date. How to read these  with the help of yearcutoff ?

1 REPLY 1
ballardw
Super User

Is this data all in one file/data set? If so, how do you know which century the date represents? The YEARCUTOFF option pretty much is set up only for distinguishing 19XX to 1999 from 20XX-2099 years. For 1800 you're going to have to provide the century somehow and then use an appropriate date conversion function.

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1006 views
  • 3 likes
  • 2 in conversation