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
InequalityHello What age should be considered in order to calculate the number of children and the number of a…
String variable- code group certain cases- regexm(); regexr(); regexs()???Dear Statalist, I would like to be able to select only those cases in "subp" variable whose value e…
Reshaping Long to Wide when the ID is Not UniqueHi Everyone, I have Stacked on how to manipulate my data to make the Reshape Command Works. In my c…
Mean of Predictions (Point Estimates)Hey guys, I was hoping you would help me clarify a post-estimation issue I am having in stata. Assum…
for loopshello, im trying to split a huge data set into about 400 files so that i can run an analysis on the…
Subscribe to:
Post Comments (Atom)
0 Response to Formatting datetime from one format to another in same variable
Post a Comment