date1904 {datetimeutils} | R Documentation |
Checks whether an xlsx file uses 1 Jan 1904 as its origin.
date1904(filename)
filename |
character: one or more filenames |
Requires utils::unzip
.
A logical vector:
TRUE
if origin is 1904;
FALSE
if origin is 1900;
NA
if file could not be processed.
Enrico Schumann; type spss
/pspp
suggested and based on a patch by J\"org Beyer
ECMA-376-1:2016 Office Open XML File Formats.
date1904("~/Desktop/02_company_statistics.pdf")