Hello everyone,
I was wondering how I can calculate the difference between two dates that I have (both of which are currently in different string formats)
2019-10-02 08:00:00
09/26/2019 09:57:41
Can someone please tell me the easiest way to convert these into DateTime format so that I can get the time difference in hours?
If you have any further questions please let me know .
The first string is pulled from an email body and always follows that format and the second one is from the time of an outlook message received (email.Headers(βDateβ)) so it will also always be in that format.
Thanks a bunch,
Riley