[R] formats

Richard.Cotton at hsl.gov.uk Richard.Cotton at hsl.gov.uk
Tue Aug 25 15:10:41 CEST 2009


> what do you mean by "%d-%b-%y". is it reading format or writing format.

"%d-%b-%y" is a date format - see the help page for strptime.

Example usage:
strptime("01-Jan-84", "%d-%b-%y")
strftime(Sys.time(), "%d-%b-%y")

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:22}}




More information about the R-help mailing list