I have to do a difference between dates and return the number of days. the format of the dates is as follows:
12/9/2011 12:00:00 AM
Does anyone know how to perform the difference without using lubridate?
I have to do a difference between dates and return the number of days. the format of the dates is as follows:
12/9/2011 12:00:00 AM
Does anyone know how to perform the difference without using lubridate?
We can use
asPOSIXct
to convert toDateTime
If we need only
Date