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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help/answers for a date/time field

Status
Not open for further replies.

stormtrooper

Programmer
Apr 2, 2001
266
CA
Hello there. I am using CR9 and I have a field from DB2 in that has a date/time format of 2004-04-20-11.42.06.991822
(yyyy-MM-dd-hh.mm.ss.ms). How do I get crystal to display the whole field and not just up to the ss part?
 
One approach would be to convert it to text:

totext({table.datetime},"yyyy-MM-dd hh.mm.ss.")
+right(totext({table.datetime}),6)

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top