Added floor function

hi, I couldn't find a way to floor a DateTime, so I added a floor function. If there's already a way to do this, please ignore, cheers.