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
How to create a graph like this in STATA?I am conducting an event study where I want to graph out cumulative abnormal returns surrounding the…
EVENTDD error message with cross section dataI'm working with BRFSS data and its a cross section data. Need to create event study analysis and I …
Truncated Weibull Distribution ?Dear Experts, I kindly ask if one of you have any idea on how I could fit a zero-truncated Weibull …
Tools for creating HTML documents with StataDoes anyone have preferred options for creating HTML documents that incorporate Stata code? I've hea…
Indicate loss of observations by variableDear Statalist Community, I am looking for a command that tells me how many observations are lost w…
Subscribe to:
Post Comments (Atom)
0 Response to Formatting datetime from one format to another in same variable
Post a Comment