Hi all, I have a variable "qdate" that only contains the last quarter of a year. I want to convert that to "year". So from the first example to the second.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input int qdate 207 211 215 219 223 219 223 207 211 215 219 223 207 211 215 219 223 207 211 215 219 223 215 219 207 211 211 215 207 211 215 219 211 215 207 211 207 211 215 219 223 207 211 215 219 215 219 223 223 219 215 219 219 215 219 215 219 223 215 207 211 215 end format %tq qdate
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double fyear 2010 2011 2012 2013 end
Comment