so I tried using that as well which was a datetime. format - which consisted of data X; set Y; if DATE >= '01SEP19:20:55:00'd and DATE <= '30SEP19:20:55:00'd; run; and it doesnt pull up anything, why would that be the case?
... View more
Hi everyone, I have a problem filtering a date based on the format new_date monyy5.; I have variables that have that format and I want to pull the data based on the month that they land on. I tired to do something like this data X; set Y; where new_date='SEP19'd; run; keeps telling me that I have an invalid date/time/datetime constant - why is that?
... View more
Hi there, I have a date format in DATETIME18. and would like to add three hours to it to reflect a timezone. EX. 12/31/2018 8:13:55 AM will become 12/31/2018 11:13:55 AM in the column for all the variables that fall under that column. How would you do this? At the moment I have already put my data in and it is listed as data1 with the date column being 'DATE' .
... View more