Sample:
a=01-Jan-50 % January 1 1950
b=16-Feb-18 % February 16 2018
Desired output:
68.17
Essentially I wish to calculate years : b-a.
Related Posts with Calculate Time Between Dates
beginner's question Dear Stata users, I have a data set with 3 variables. These variables can take values "1-10". How …
Specify default for string argument to Stata -program-I'm writing a Stata program, but having trouble specifying a default value for the string argument m…
mediation analysis with multiple mediatorsDear Stata users, I am new to mediation analysis, so I am still learning but from what I read it se…
stata16.1 updateI updated my stata, but a new problem occurred. After I entered the "help" command in the command wi…
Margins after SEMHi, I am using SEM to estimate an autoregressive model: Code: sem (r9cesdnmv2 <- relwmo2v2c) …
Subscribe to:
Post Comments (Atom)
0 Response to Calculate Time Between Dates
Post a Comment