Hi, I'm currently trying to employ a posting system for my website and I need to show the time that has elapsed since a post has been made. I'm using the chrono crate and employ their Utc::now() method to find the current time and storing that value into a redis database. I can find the difference in the time of two different Utc::now() method values by using (time2).signed_duration_since(time1) but because the Utc value is converted into a string when I save it the database and will return as a string when I ask for it back for future use, I need a way to convert the string version of the UTC value back into a UTC value. How would I do this?
Thanks in advance for the help!