I was wondering how I can calculate the difference between two dates that I have (both of which are currently in different string formats)
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,