Description Usage Arguments Details Value Examples
This function identifies the date of the given backup based on the file name. It separates it by underscores, dots and minus, substracts the essential numbers and converts it to a date. Optional one can choose the type and language of the printed date.
1 | identifyDate(filename, type = "Date")
|
filename |
character string of the filename which contains a date |
type |
character string which defines the output, see details; default is "Date" |
There are four defined output types defined at this moment.
"Date"
is from class Date
"numerical_EN"
looks like "01 May 2018"
"character_EN"
looks like "1st of May 2018"
"character_GER"
looks like "1. Mai 2018"
Depending on type
, a Date
or character
will be
returned
1 | identifyDate("Knk_2018_05_02--09:53.BAK", type = "character_GER")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.