Convert Stata elapsed dates to Julian dates [STB-14: dm14.1] ------------------------------------------- ^etoj^ edate [^if^ exp] [^in^ range], ^g^enerate^(^year day^)^ - or - ^etoj^ edate [^if^ exp] [^in^ range], ^g^enerate^(^jdate^)^ converts Stata elapsed dates to Julian dates (year plus day of year). In the first form of the command, the year and the day are stored in separate variables. In the second form, the year and day are both stored in "jdate" where the year is stored as the integer part of the variable and the day is stored as the three digits following the decimal place. The ^generate()^ option is required. Author ------ Sean Becketti, Stata Technical Bulletin Also see -------- Manual: [5d] dates STB: dm14.1 (STB-14)