| Author |
Julien Date and SQL TimeStamp conversions
|
Abhishek Kumar Jha
Greenhorn
Joined: Jul 10, 2007
Posts: 4
|
|
Hi All, I need to convert the Julien date into gregorian which i could do but now i need to convert the SQL TimeStamp which is in nano seconds into the Normal TimeStamp i.e. hh:mm:ss.ssssssss These date and time stamp is coming straight out of mainframe which my Java programme has to convert into the normal format. I can also concatenate the above two fields i.e. MF Julien date and Timestampe and convert the entire thing into milliseconds. I need to do this as i have to find the processing time usign this Main frame date and time stamp as an entry date and then putting a timer at the end in my java programme as an exit time.Finally the diff between these two wud give me the resultant time consumed for processing. As an exmaple. One example for Date could be :- 2007184 //this is YYYYDDD format One example for Timestamp could be :- 0409561239 // this is SQL Timestamp from Mainframe in nano seconds. Any pointers on this will be highly appreciated. Thanks in Advance, Abhishek
|
 |
 |
|
|
subject: Julien Date and SQL TimeStamp conversions
|
|
|