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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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