cancel
Showing results for 
Search instead for 
Did you mean: 

Remove time portion from a date field

benniit
Explorer
0 Kudos

I'm using Vb.Net 2015 with CRforVS_13_0_15 and I have a problem with a date field on the report with a datatype in the SQL database as date. This date field on the report comes with time portion. I right-clicked on the date field on the report and selected format object and clicked on "01-Mar-1999" format but still the time portion appears. Please what am I doing wrong? Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member203168
Active Participant
0 Kudos

Hi Ben,

Use below formula instead of database field

date(datetime field)

or

todate(datetime field)

--Praveen G

0 Kudos

Moved to Report Design forum