convert_to_excel_date | R Documentation |
convert back to an Excel Date
convert_to_excel_date(df, date1904 = FALSE)
df |
dataframe |
date1904 |
take different origin |
xlsxFile <- system.file("extdata", "openxlsx2_example.xlsx", package = "openxlsx2")
wb1 <- wb_load(xlsxFile)
df <- wb_to_df(wb1)
# conversion is done on dataframes only
convert_to_excel_date(df = df["Var5"], date1904 = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.