Hi,
I'm using VB.NET Crystal Report.
Does anybody know how to to format time in Crystal report ?
I have a database field which contains a datetime value, ie. "1/1/2006 14:02 " (the time is in military time)
I know I can use totext("value", "MM/dd/yyyy") to format a date, but what about formatting a time value as well .
In other words, I want to format "1/1/2006 14:02" into "1/1/2006 2:02 PM"
Thanks,
Hang
I'm using VB.NET Crystal Report.
Does anybody know how to to format time in Crystal report ?
I have a database field which contains a datetime value, ie. "1/1/2006 14:02 " (the time is in military time)
I know I can use totext("value", "MM/dd/yyyy") to format a date, but what about formatting a time value as well .
In other words, I want to format "1/1/2006 14:02" into "1/1/2006 2:02 PM"
Thanks,
Hang