aspose file tools*
The moose likes JSP and the fly likes I WANT GMT DATE --- please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "I WANT GMT DATE --- please help" Watch "I WANT GMT DATE --- please help" New topic
Author

I WANT GMT DATE --- please help

mou haj
Ranch Hand

Joined: Sep 12, 2001
Posts: 81
I want to print the GMT Date time.... hoe do I get it
please help
bhaskar reddy.b
Greenhorn

Joined: Jan 21, 2002
Posts: 8
u just include this and i think u will get it
<%=(new java.util.Date( ))%>
Stuart Stephen
Greenhorn

Joined: Jan 23, 2002
Posts: 2
You will, assuming your server is set to GMT time.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You can use the Timezone class to specify it. Then use dateformat to format the date.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
 
subject: I WANT GMT DATE --- please help