Hi everyone, I'm a relatively new SAS user and finding the formatting of dates and times confusing. I am trying to combine DATE and TIME into one DATE_TIME variable. My dates are numeric, and I've formatted them as yymmdd10. I've looked into concatenating, dhms, and a few other random tidbits I've found and just can't seem to get close to what I need. In an attempt to try something else, I also separated out each component into month, day, year, minute, hour, and second variables - in case that helps with another solution. I need the new variable format to look like yyyy-mm-dd hh:mm. Can anyone help me with this? I'm happy to provide more information as needed! I'm using SAS 9.4. Thanks!
... View more