Function get_unix_timestamp

Source
pub fn get_unix_timestamp(input: &str, tformat: Option<String>) -> Option<u64>
Expand description

Retrieve the UNIX timestamp 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