File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Date printed in IST format when EDT format required Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Date printed in IST format when EDT format required" Watch "Date printed in IST format when EDT format required" New topic
Author

Date printed in IST format when EDT format required

Veena Gupta
Greenhorn

Joined: Oct 03, 2005
Posts: 4
Hi all,
I want to store and print date in EDT format .But its getting stored and printed in IST(Indian Standard Time) as my local setting is IST. How I get it in EDT(Eastern Time US and Canda which is GMT-05.00)

Thanks a lot
Veena
Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
Hi Veena,

Welcome to The JavaRanch...

Here is a sample code that might get you going:


Refer to the discussion here
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=659608
for further details and more information.

Hope it helps.


[ October 03, 2005: Message edited by: Ritesh Agrawal ]

Ritesh<br /> <br />SCJP 1.4<br />IBM Test 340<br />IBM AIX V4.0 Certified Professional<br /> <br />Right actions for the future are the best apologies for wrong ones in the past.<br />- Tyron Edwards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date printed in IST format when EDT format required
 
Similar Threads
Convert Local time to UTC and vice versa
10000 milliseconds showing as 01:00:10.000 - why ?
Puzzling Parsing of Dates
error in formatting miliseconds for date objects
Need Help on Time conversion.