Convert from excel date number to R Date type
convertToDate(x, origin = "1900-01-01", ...)
A vector of integers
date. Default value is for Windows Excel 2010
additional parameters passed to as.Date()
Excel stores dates as number of days from some origin day
##2014 April 21st to 25th
convertToDate(c(41750, 41751, 41752, 41753, 41754, NA) )
convertToDate(c(41750.2, 41751.99, NA, 41753 ))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.