Answer by Sergey Kalinichenko for Removing Timezone for DateTime.ParseExact
You can scan the string for spaces, and cut everything after the fifth space. If there are only four spaces, keep the entire string (this means that there is no timezone).This answer has been edited...
View ArticleRemoving Timezone for DateTime.ParseExact
I am trying to parse a string into a datetime with the following format:[Day],[Date] [Month] [Year] [Time][am/pm] [timezone] (example:)"Thursday, 1 Dec 2011 08:30pm EST"I've done this using a...
View Article