def trunc_time(date):
    """
    Truncate an object of type DateTime with time to 00:00:00
    :param date: Date for truncate
    :return: Date truncated
    """
    return date.replace(hour=0, minute=0, second=0, microsecond=0)
