I have date string like Fri, 15 Nov 2013 09:00:00 -0600 in JavaScript(sent by server PHP). I need to parse this and get the timezone offset '-0600'.
Is there any easy way to get the timezone offset from this string?
Do you have access to the PHP, it might be cleaner to do this on the server side. Not to mention PHP's time/date functions are a little more flexible IMO.
Date.parse()in conjunction withDate.getTimezoneOffset()?