I get the date and the time as the following:
java.lang.String geckUpdateDate = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm Z").format(new java.util.Date());
And it returns me something like:
2011-03-17 00:39 -0400
However I would like to get
2011-03-17 00:39 EST
2011-03-17 00:39 EDT
depending on either "Eastern Time" or "Eastern Daylight Time"
How can I make it in Java?