[R] Date conversion

Felipe Carrillo mazatlanmexico at yahoo.com
Thu Jun 10 17:29:00 CEST 2010


Hi:
Can't find a way to convert from shortDate to LongDate format. I got:
3/10/10 that I want to convert to March 10, 2010. I am using:

\documentclass[11pt]{article}
\usepackage{longtable,verbatim}
\usepackage{ctable}
\usepackage{datetime}
\title{my title}
\begin{document}
  % Convert date
\mmmmddyyyydate\3/10/10
end{document} 

My report is changing every two weeks so I will eventually 
use \Sexpr{report[1,1]} to grab the date from column 1, row 1
of a table named "report" but right now my report has the date
formated as described above (3/10/10).

 
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA






More information about the R-help mailing list