time stamp issue MyEclipse IDE > Off Topic This topic has 2 replies, 3 voices, and was last updated 19 years, 7 months ago by Pat Osterday. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts May 3, 2005 at 12:14 pm #229029 Reply sarwar_mansoorMember System.out.println(Calendar.getInstance().getTime()); always return: Tue May 03 12:10:23 GMT-06:00 2005 I want this to return: Tue May 03 12:10:23 CDT 2005 I am running windows XP as OS. Any know what I need to do to change this. thanks May 3, 2005 at 2:25 pm #229034 Reply Riyad KallaMember Moving to OT > Soft Dev, has nothing to do with ME. May 9, 2005 at 9:30 am #229251 Reply Pat OsterdayMember use SimpleDateFormat – check out the javadocs at java.sun.com. Then you can create whatever you need, example: SimpleDateFormat gmtTime = new SimpleDateFormat(“MM/dd hh:mm:ss a (z)”); Author Posts Viewing 3 posts - 1 through 3 (of 3 total) Reply To: time stamp issue You must be logged in to post in the forum log in