Hello everyone!
I am facing some issues with my timestamp variable. The data that I have received from the field are in 2 formats:
1) 17-04-2022 21:15
2) 2022-04-04:09:00:00.PM
I want to bring all the observations in the variable into a standard format.
Could someone please suggest some ways to go about the same? Thanks for your help!
Related Posts with Formatting datetime from one format to another in same variable
Missing dataHow can I generate random numbers and create missing data? …
Merging two variables from different datasetsDear all, I am working with a large dataset of nearly 3 million observations on house prices in the…
how to create a new variable based on existing variablesDear All, I have six variables. Based on them I want t create a new variable which would be based o…
Differences in differences with/without attritersHi all, I'm trying to implement DID (two periods two groups) with Lee bounds by dropping the top/bo…
Map with labels for only a select countriesHi, I would like to be able to draw a map while labelling only a few countries. I have implemented t…
Subscribe to:
Post Comments (Atom)
0 Response to Formatting datetime from one format to another in same variable
Post a Comment