extracting date field from a date-time field

extracting date field from a date-time field

Hi, 

I need to replace the time in a date time field with another time. The .add(minutes) doesn't do this is - as it adds on to the current time. is there a simple way of achieving this goal?