Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert 1.27e+017 to time/date

Status
Not open for further replies.

cardimom

MIS
Sep 18, 2001
34
US
I am pulling a field "LastCompletedBackupTime" and what I get is 1.27e+017. Can I get this to be a real time?

Thanks,
CorgiMom
 
Probably, but this would be Crystal version and database dependent, and what level of precision you expect.

What you're seeing is Crystal's version of scientific notation.

It's odd that anyone would store a backup time at such precision, suspicious...

The best way to resolve this is to first learn how it is stored in the database, and then convert it on the database side either in a View/SP, or using a SQL Expression in Crystal.

-k
 
Crystal 8.5 has a function called TimeValue, which is probably what you need to use.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top