Skip to main content

shift_datetime

Function shift_datetime 

Source
pub fn shift_datetime(datetime: &str, shift: &str) -> Option<String>
Expand description

Shift a datetime string by the given amount. Input format: “YYYY:MM:DD HH:MM:SS”