Hello all,
I am trying to extract the years from a datetime variable and do not seem to find a way. I am attaching images of what I see on STATA. Can someone explain to me in a simple way what I should do?
Thank you in advance! [ATTACH=CONFIG]temp_24673_1636800585647_206[/ATTACH] [ATTACH=CONFIG]temp_24672_1636800679451_248[/ATTACH]
Related Posts with Extract year from datetime variable
Comparing each observation from one variable to few hundred thousand in anotherHi all, I am wondering if anyone has any ideas on how I can compare each observation from one varia…
Analyzing length of stay in clustered data (back transform)Hello, I'm a relatively new Stata user and am working on a project. I'm looking at length of stay (…
Regular expression helpHello, Apologies for making a second regular expressions-related post today, but the topic is new t…
Command to obtain effect sizes.Hello, I am running two models on a panel data of 50 firms over 15 years (one using the xtnbreg and …
Calculation of directly standardized rates "distrate" or "dstdize" commandsHello, First of all I dont know if this is the proper site to publish this, correct me if its not. …
Subscribe to:
Post Comments (Atom)
0 Response to Extract year from datetime variable
Post a Comment