Return the date and time that an export was performed

export_datetime(x)

export_date(x)

Arguments

x

secuTrial export

Value

export_date returns a date object, export_datetime returns a string

Examples

export_location <- system.file("extdata", "sT_exports", "lnames",
                               "s_export_CSV-xls_CTU05_long_ref_miss_en_utf8.zip",
                               package = "secuTrialR")
# read all export data
sT_export <- read_secuTrial(data_dir = export_location)
#> Read export successfully.
#> The following export options deviate from the suggested specifications:
#> Data from hidden fields is part of the export.
#> Short names was not selected.
# get date/time
export_datetime(sT_export)
#> [1] "30.04.2019 - 15:30:26 (CEST)"
export_date(sT_export)
#> [1] "2019-04-30"