Hello everyone,
I would highly appreciate your help with the following:
I have a date-variable in the format such as "31jan2001" (type: long, Format: %td). For my further analysis, I would like to create a new variable which displays only the day-of-month, so the "31" as a numeric number.
I read several posts but I did not find a solution how to do this...
As always, thanks for your support!
Samuel
Related Posts with Date-variable: Extracting day-of-month as numeric
xtlogit does not converge (not concave)Dear Statalist I'm having difficulties trying estimate the following model working with panel data …
Append/ merge datasetsI am using survey data which i was able to download for each year directly into stata. However i wan…
ssc cortestiI was wondering if any others agree that the Williams test implemented in the SSC program cortesti m…
Help with changing reference category when doing a cox regressionHello, I am doing a cox regression and have a variable socioeconomic status 'ses' which I have label…
how to use color to differentiate the two groups? Code: set scheme s2mono * Example generated by -dataex-. To install: ssc install dataex clear inp…
Subscribe to:
Post Comments (Atom)
0 Response to Date-variable: Extracting day-of-month as numeric
Post a Comment