Skip to content

Write date class as number of days from 1970

2 messages · Manta, Uwe Ligges

#
Dear all,

I have a dataset with one column being of class Date. When I write the
output, I would like that column being written as number of days from
1970-01-01. I could not find anywhere a way to do it.

Thanks,
Marco



--
View this message in context: http://r.789695.n4.nabble.com/Write-date-class-as-number-of-days-from-1970-tp4666155.html
Sent from the R help mailing list archive at Nabble.com.
#
On 03.05.2013 15:59, Manta wrote:
as.numeric(x)

where x is the Date object.

Uwe Ligges