Jennifer, DB2 stores timestamp information in a table in a modified pack format.
4000015000
0011009000
it is read top to bottom and left to right. You will notice that it takes 10 bytes to store.
Beyond that, how it is displayed is up to the application.
When you mention:
Quote:
|
When I look in DB2, the information does not look like 00:12:14. It looks like Jan 1, 4000 12:10:59 AM 000000. When I click into the field in DB2, it then looks like 4000-01-01 00:10:59.0.
|
How are you looking at the data? Are you using Command Editor or Control Center with the result in a Grid? If you are, the Jan 1,... format is set in the application and (according to IBM) can't be changed.
If you select the column so the output shows up in the result pane (you can change Tool Settings on the Command Editor tab and unchecking the 'Display Results for a single query on the Query Results pane'), you should see the (normal) output of:
4000-01-01-00.10.59.000000