Convert Julian dates to Stata elapsed dates [STB-14: dm14] ------------------------------------------- ^jtoe^ year day [^if^ exp] [^in^ range], ^g^enerate^(^edate^)^ [no^s^hort] - or - ^jtoe^ jdate [^if^ exp] [^in^ range], ^g^enerate^(^edate^)^ [no^s^hort] converts Julian dates (year plus day of year) to Stata elapsed dates. 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. Options ------- ^g^enerate^(^edate^)^ specifies the name to use for the Stata elapsed date. This option is required. ^nos^hort forces two-digit years to be interpreted literally. The default is to add 1900 to two-digit years. Author ------ Charles Chapin, Health Services Advisory Group Also see -------- Manual: [5d] dates STB: dm14 (STB-14)