Hi Crystal reports shows a date/time value as 1.27e+017. The data is shown as 127264599743590905 in the database table. How do I convert this to a readable date/time?
You haven't told us what system and database are involved.
If it is "unix time" then you will have to get hold of the u2lpdmtime.dll from the business objects support site.
Then simply create a new formula and drag it onto your report:
Thanks for your replys. The database is Veritas Netbackup Professional. A Veritas report from within the Veritas console comes up correctly and shows the time a backup started as m/d/yyyy h:m:s am or pm so 3/30/2004 8:16:24PM.When I export the report to crystal the report will not open and says there are errors. When I try to get a time/date like backup time started or ended when making my own report in crystal I get 1.27e+017 for all time/date fields. When using a sql script in Interactive Sql I get this format 127264599743590905 and they are all different so they must be correct. Veritas uses a formula If isnull({Machines.LastCompletedBackupTime}) then
"Never"
else
ToText(NBPUINT64ToLocalizedDate ({Machines.LastCompletedBackupTime}))
but it does not work in Crystal. Veritas says its a crystal problem and crystal says its a veritas problem. The default veritas reports can not be modified in veritas's console that is why I want them in crystal I used to be able to do this, before updating to the newest veritas software version.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.