round_date

Round dates to the nearest unit

Rounds Date or Datetime values to the nearest requested unit boundary.