Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 14 Apr 2008 at 8:50pm
You can use the CStr() function to extract the time elements out of the field and put them in a string format. If you need it in a Time format, then you can convert the string to a time value.
CTime(CStr({table.yourfield}, "hh:mm:ss tt"));
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum