Hello!
I was trying to query the first day of the current month. My query will be something like this:
creation date < (first day of the current month).
Could somebody please help me with the syntax ?
intnx('month',today(),0)
intnx('month',today(),0)
Thanks so much!
And what would it be if its a datetime format?
intnx('dtmonth',datetime(),0)
(alternative: intnx('month',today(),0)*86400)
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.