code: public static DateTimeValue dayStart(DateValue date) {
  		return new DateTimeValueImpl(date.year(), date.month(), date.day(), 0, 0, 0);
  	}
docs: Builds a date-time value that represents the start of the given day (all
  time components set to 0).
  @param date the day
  @return the date-time value