timestamp « db2 « Java Database Q&A





1. How do I validate a timestamp?    stackoverflow.com

my application takes in a string like this "2002-10-15 10:55:01.000000". I need to validate that the string is a valid for a db2 timestamp. How can I do this? EDIT: This mostly works

 ...

2. compare Timestamp value from DB2    coderanch.com

Hello, this is the logic I need to code: 1. A method get yesterday's date which will return me a Java.Util.Date object. 2. get a timestamp value from DB2 table. 3. get the date value only from the timestamp. 4. Then, use the Java.Util.Date object to compare the Timestamp's date value I get from DB2 table. my question is I don't ...

3. Java time to DB2 timestamp conversion    forums.oracle.com