Hi all,
I would like to convert the following date and time format into Stata format, so that I can performance subtraction between two date and time to find the interval.
1/19/2015 11:33:00 AM
After conversion, I can do:
XXXXXXX - YYYYYY = ZZZZZZ
I have been looking at a few documents on the use of the clock function, but couldn't hack it. Appreciate any helping on the code.
Thanks,
Fred
Related Posts with Convert date and time to Stata format
Moving cumulative sum over 10-year periodDear Statalist Community, I am currently struggling with a data transformation task and was wonderi…
Propensity Score Matching - Multilevel DataHi all, For my Dissertation I am calculating a multilevel regression with data from a cross-nationa…
Gompertz mortalityDear Statalisters, I am working on mortality dataset. Each row represents the number of people born…
Ologit, Paralell Regression Assumption and weightsHi, it's the first time i write here, hope the question is not too emantary, I'm trying to replicat…
Moving cumulative sum over 10-year periodDear Statalist Community, I am currently struggling with a data transformation task and was wonderi…
Subscribe to:
Post Comments (Atom)
0 Response to Convert date and time to Stata format
Post a Comment