format_time

Function format_time 

Source
pub fn format_time(time: &str, new_format: &str) -> Result<String, GPSError>
Expand description

Converts the time from this format “%Y-%m-%dT%H:%M:%S.%fZ” to what ever format you want. Just make sure if your converting the time to your Time Zone you did it first. Then run this function.