

date {base}                                  R Documentation

_S_y_s_t_e_m _D_a_t_e _a_n_d _T_i_m_e

_D_e_s_c_r_i_p_t_i_o_n_:

     Returns a character string of the current system date
     and time.

_U_s_a_g_e_:

     date()

_V_a_l_u_e_:

     The string has the form `"Fri Aug 20 11:11:00 1999"',
     i.e. length 24, since it relies on POSIX' `ctime'
     ensuring the above fixed format.  Timezone and Daylight
     Saving Time are taken account of, but not indicated in
     the result.

_E_x_a_m_p_l_e_s_:

     (d <- date())
     nchar(d) == 24

