midnight
Description
Returns a copy of a date with the hour, minute, second, and millisecond fields set to zero.
Syntax
midnight(date )
Code Examples
Code Snippet
midnight(now())
//This will take the current date and set the time to midnight