I have a requirement to produce URL parameters from values in the db. One of the key fields is a date, and the application that is receiving the URL requires that the date be expressed in milliseconds.
For instance, in the following URL:
xxx.xxx.xxx.xxx/view.jsp?itemTypeID=ADM&itemID=1411&revDate=1061388633000&revNum=
The important part is: revDate=1061388633000
This value is stored in the db as 8/20/2003 09:10 AM
Our application uses a java timestamp object to do the conversion, but I need to somehow duplicate this in PL/SQL.
Any ideas?
For instance, in the following URL:
xxx.xxx.xxx.xxx/view.jsp?itemTypeID=ADM&itemID=1411&revDate=1061388633000&revNum=
The important part is: revDate=1061388633000
This value is stored in the db as 8/20/2003 09:10 AM
Our application uses a java timestamp object to do the conversion, but I need to somehow duplicate this in PL/SQL.
Any ideas?