Topic Options
Rate This Topic
#59653 - 01/24/02 06:19 PM remedy date fields
Anonymous
Unregistered


i am trying to connect directly to a databse where remedy data is stored. i founnd out that the date fields are on int datatype which do not convert directly to a date datatype. does anyone know how to deal with this issue? what algorithm does remedy uses to convert the data to a date format from an int datatype?

Top
#59654 - 01/25/02 11:31 AM Re: remedy date fields [Re: Anonymous]
Matt Reinfeldt Offline
Old Hand
***

Registered: 06/12/01
Posts: 1419
Loc: Madison, WI
those dates are stored in epoch format, that is, seconds since jan 1, 1970... how to convert them depends on how you are accessing them... if you are using sql, there are to_date functions you can use, if you're using perl, you can convert it pretty easily...

just let us know how you're getting at the data, and we should be able to help you out...
_________________________
Matt Reinfeldt
I belong to the following Professional Networks:
http://www.naymz.com/search/matt/reinfeldt/1524717
http://www.linkedin.com/in/mreinfeldt

Top