I have a large dataset where the dates are in format '$27' and displayed like '
2018-09-01 14:21:51:333 GMT
'. I need to convert this to datetime13 or datetime18. What would be the best way to do this?
Thanks in advance for any help given!
If you can, fix the creation of that datasets, so that a proper datetime-variable is created. There is hardly any good reason for storing datetimes as strings at all.
Do you really have datatime values with different time zones than GMT?
If so do you need the values adjusted so that they are synchronized to a single time zone?
Missed SAS Innovate in Orlando?
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.