Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

bad Timestamp Exception  RSS feed

 
Pournima Tilak
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using postgres Database with the date type as Timestamp.
but while retrieving data from database i'm getting Bad Timestamp Format at 22 Exception .
i want the solution for this as same code is perfectly running on some other machine with the same database,server and settings.
 
Sandeep. Oza
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am also getting the same problem. I am using jdk1.4. As I start tomcate and run my jsp file,as:
Bad Timestamp Format at 22 in 2002-07-27 00:00:00+05:30.
Also if I run this file in another machine, it runs perfectly.... I have checked all my regional time settings...
If anyone knows solution, pl. reply
Thanks.
Sandeep Oza
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Pournima"-
Welcome to the JavaRanch! Please adjust your displayed name to match the JavaRanch Naming Policy.
You can change it here.
Thanks! and again welcome to the JavaRanch!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!