I have dates in format
How can I get the difference between the wto dates without turning them into numbers we cannot direct interpret?
Code:
/*YYYYMMDD
. di daily(string(20150612, "%8.0f"), "YMD") - daily(string(20140612, "%8.0f"), "YMD") 365
gen sdate = daily(string(mydate, "%8.0f"), "YMD")) format sdate %td
Comment