home *** CD-ROM | disk | FTP | other *** search
-
- _C_o_n_v_e_r_t _f_r_o_m _J_u_l_i_a_n _d_a_t_e_s _t_o _m_o_n_t_h, _d_a_y, _a_n_d _y_e_a_r.
-
- date.mdy(sdate, weekday=F)
-
- _A_r_g_u_m_e_n_t_s:
-
- sdate:
- a Julian date value, as returned by the mdy.date func-
- tion, number of days since 1/1/1960.
-
- weekday:
- if TRUE, then the returned list also will contain the
- day of the week. Sunday=1, Saturday=7.
-
- Value:
-
- a list with components month, day, and year.
-
- _E_x_a_m_p_l_e_s:
-
- temp <- sas.mdy(sas.date(month, day, year))
- if (tempay != day) .. #Check for illegal dates, such as 29 Feb in a non leap year
-
- Press, et.al, "Numerical Recipies".
-
-