Function get_datetime

Source
pub fn get_datetime(
    input: &str,
    tformat: Option<String>,
) -> Option<DateTime<Utc>>
Expand description

Retrieve the DateTime object from a string as used in the names of the run files

ยงArguments:

  • input : The input string the datetime shall be extracted from
  • format : The format of the date string. Something like %y%m%d_%H%M%S