[R] datetime objects

dpender d.pender at civil.gla.ac.uk
Tue Oct 26 12:08:36 CEST 2010


I am trying to create an array of date time objects using the strptime
function.

The first entry is in the form "1/1/1981 0:00" and U use;

strptime(datetime, "%m/%d/%Y %H:%M") which gives "1981-01-01 EST".

How do I alter this to give me "1981-01-01 0:00 EST"?

Thanks in advance,

Doug
-- 
View this message in context: http://r.789695.n4.nabble.com/datetime-objects-tp3013417p3013417.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list