Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
JDBC and Relational Databases
db date value problam
Joined: Jul 11, 2006
Sep 20, 2006 06:39:00
i am using mysql db.i have stored the date in mysql table using
now().it stored as : 2006-09-18 11:38:03
But when i retrieved that value using
in my application it is adding zero at the end. like : 2006-09-18 11:38:03:0
can all guess why it is happening like this.
author & internet detective
Joined: May 26, 2003
Sep 20, 2006 17:55:00
It is giving you the value to second precision. You can use
to format it without the milliseconds.
OCA 8 book
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
subject: db date value problam
How to store arraylist in xml file
can you do that in one query?
UnsupportedClassVersionError, Can the good people help
Running application on web start
Query problem with MySQL 5
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015