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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.