Hi, I have a variable "startdate" which shoes date and time for an observation in the following format - (Month/Date/Year) time
startdate enddate
7/9/2024 1:13. 7/9/2024 1:24
7/9/2024 1:28 7/9/2024 2:01
7/9/2024 1:30 7/10/2024 12:24
7/9/2024 1:39 7/9/2024 1:52
7/9/2024 1:46. 7/9/2024 2:00
7/9/2024 1:59 7/9/2024 2:07
NOTE: startdate and enddate are two separate variables in my dataset.
How do I sort the data such that the observations go from the latest to the most recent in terms of time?
Thanks for your help!
startdate enddate
7/9/2024 1:13. 7/9/2024 1:24
7/9/2024 1:28 7/9/2024 2:01
7/9/2024 1:30 7/10/2024 12:24
7/9/2024 1:39 7/9/2024 1:52
7/9/2024 1:46. 7/9/2024 2:00
7/9/2024 1:59 7/9/2024 2:07
NOTE: startdate and enddate are two separate variables in my dataset.
How do I sort the data such that the observations go from the latest to the most recent in terms of time?
Thanks for your help!
Comment