I have a code in JSP using App Engine :
But have a bug in this :

<%
        Date date=new Date();
        SimpleDateFormat formatter = new SimpleDateFormat("EEE dd/MMMM/yyyy
hh:mm:ss a");
        String formattedDate = formatter.format(date);
        String formattedDate = formatter.format(cal.getTime());

%>
<h1><%=formattedDate%></h1>

Run it on App Engine , it's show the Time not correct !!
AppEngine's set GMT=0 when in my local timeZone GMT=+7 .

How to fix this problem ?? help !!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to