We are trying to process a datetime field from our Remedy (Oracle DB) systems that stores datetime values in EPOCH format.
In our attempts to have format this to a "human readable" format we have seen many references (including one from Oracle's site) that suggests to simply use the DATEADD function, For example: DATEADD(ss, ( dbo.HPD_HelpDesk.Arrival_Time ), '1970/01/01')
However, when we try this we don't see DATEADD as a listed (available) function and it does in fact fail on that basis.
As an alternative, we do see and have tried to use the ADD_DAYS function. Since that takes a number of days as an argument, we simply divide the field value (e.g. dbo.HPD_HelpDesk.Arrival_Time) by 86400 and add that to 1/1/1970.
Although this does return the correct date, the timestamps are not correct. The difference is not consistent - anywhere from 2 to 7 hours. We assume this is due to how it is treating the remainder, but aren't sure how to resolve this.
If anyone has any experience with EPCOH datetime values in Information Design Tool any input or suggestions would be greatly appreciated.
thanks,
Jeff Henke