date                  package: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

