Date and Time pattern

Hello,

I’m trying to specify the patter for the data/time format below. Also, are there any method that would easily convert the GMT to a local timezone?

Thu, 09 Sep 2010 20:37:10 GMT

I thought it would be “EE, dd MM yyyy HH:mm:ss z” but got an invalid pattern error. Would it be better to substring so that I would be working with “Sep 2010 20:37:10 GMT” instead?

use pub.date:dateTimeFormat and pass inputs like below.

inString : 06:30:20 GMT (date time format can be anything but pass GMT after that)
currentPattern: hh:mm:ss z (for above string)
newPattern: hh:mm:ss z (z-default for PST can do the calculation for your local timezone like z+3 … )