For example, a date of 81.511, corresponds to 06/07/1981(DMY). How do you convert this to a Stata date variable, assuming each year has 365.25 days.
Thank you!
Related Posts with How to convert strings to date variable?
Adjustments to Esttab Code to Suppress Superfluous Statistics and Display LabelsHello --- I'm hoping to get some assistance adjusting my esttab code (pasted at bottom) to make the …
Create new variable with sums of occurrencesHi Statalist Community It is my first post here and I hope it is not a question that is too trivial…
Convert 1K to 1000 and 1M to 1000000Hello everyone, I need help with converting a particular variable to numbers. The variable in questi…
Cox-regression:proportional hazard test by Schoenfeld residualsHi! I have performed cox-regression on a data set with both continuous and categorical variables. In…
Problems converting string variable to date/time formatHi, I have a date/time variable that is a string and looks as follows: hh.mm.ss DD.MM.YYYY. I'd lik…
Subscribe to:
Post Comments (Atom)
0 Response to How to convert strings to date variable?
Post a Comment