Hello,
as "E8601DT26.6" is a date-time format (date + time) you need to extract the datepart from DT_CURRENT in order to be able to successfully use the monyy5. format :
datepart(DT_CURRENT) format=monyy5.
Koen
Hello,
as "E8601DT26.6" is a date-time format (date + time) you need to extract the datepart from DT_CURRENT in order to be able to successfully use the monyy5. format :
datepart(DT_CURRENT) format=monyy5.
Koen
Looks like you have only one DATE variable. The other one is a DATETIME variable. Date values are stored as number of days. Datetime values are stored as number of seconds. So you cannot use the same format to display both of them. But you could use the DTMONYY5. format to display the datetime value in the same MONYY style.
PS Why are you displaying only two of the four digits of the year? That can cause confusion about which century the values represent.
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!ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.