Hello,
I have a date/time variable formatted in the following way: "01-24-2019, 03:26 PM" and cannot figure out how to destring it. I have tried several variations of gen date=clock(datetime,"MM-DD-YYYY, hm") but this hasn't worked. Any help would be much appreciated.
Thank you,
Sarah
Related Posts with How to destring date/time with comma
create dummy showing 36&60 months after event dateDear statalists,
I am trying to create a variable to flag the 36th and 60th months after each event…
Shaping dataHello,
I would like to transform my data from this way :
order
station
up
down
1
A
48
0
…
Test for math
\[ \frac{2}{3}+ \mathbf{\pi} \] \[ y = \beta*x + \gamma *x * \varepsilon \]
…
Adding Independent Variables in RegressionHi there! I am new to Stata and am eager to learn.
I am currently doing an OLS regression on a cros…
Estimating TFP by industry using prodestDear Stata users,
I estimate TFP using prodest command (ssc install prodest) and have one question …
Subscribe to:
Post Comments (Atom)
0 Response to How to destring date/time with comma
Post a Comment