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
Keep with joint conditionI have another issue in relation to keeping variables with a joint condition. I am trying to select …
Keep with joint conditionHi I have another issue in relation to keeping variables with a joint condition. I am trying to sele…
Keep with joint conditionHi I have another issue in relation to keeping variables with a joint condition. I am trying to sele…
Keep with joint conditionI have another issue in relation to keeping variables with a joint condition. I am trying to select …
Keep with joint conditionHi I have another issue in relation to keeping variables with a joint condition. I am trying to sele…
Subscribe to:
Post Comments (Atom)
0 Response to Convert date and time to Stata format
Post a Comment