home *** CD-ROM | disk | FTP | other *** search
-
- _C_o_e_r_c_e _d_a_t_a _t_o _d_a_t_e _f_o_r_m _C_o_n_v_e_r_t_s _a_n_y _o_f _t_h_e _f_o_l_l_o_w_i_n_g _c_h_a_r_-
- _a_c_t_e_r _f_o_r_m_s _t_o _a _J_u_l_i_a_n _d_a_t_e: _8/_3_1/_5_6, _8-_3_1-_1_9_5_6, _3_1 _8 _5_6,
- _0_8_3_1_5_6, _3_1_A_u_g_5_6, _o_r _A_u_g_u_s_t _3_1 _1_9_5_6.
-
- as.date(x, order="mdy", ...)
-
- _A_r_g_u_m_e_n_t_s:
-
- x:
- input data vector.
-
- order:
- if x is character, defines the order in which the terms
- are assumed to appear in a xx/xx/xx date. The default
- is month/day/year; any permutation of mdy is legal.
-
- if x is character, then any other arguments from the
- mdy.date function can be used as well.
-
- Value:
-
- for each date, the number of days between it and Janu-
- ary 1, 1960. The date will be missing if the string is
- not interpretable.
-
- If x is numeric, then floor(x) is returned, e.g.,
- as.date(35) = as.date(35.2) = Feb 2, 1960. If x is
- character, the program attempts to parse it.
-
- mdy.date, date.mmddyy, date.ddmmmyy
-
-