Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: Crystal Reports field datatype nightmare

$
0
0

Does the {CallLog.RecvdTime} field contain Date Time values stored as string in the this format:

 

YYYY -MM-DD and HH:MM:SS?


And, are you trying to convert the 'time' value in this string field to seconds? If yes, use this code:


Hour(cdatetime({CallLog.RecvdTime}))*3600 + Minute(cdatetime({CallLog.RecvdTime}))*60 + Second(cdatetime({CallLog.RecvdTime}))



-Abhilash


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>