date & time to the value closest to the current datetime

date & time to the value closest to the current datetime