'Return the SQL to cast a datetime value to date value.'

def datetime_cast_date_sql(self, field_name, tzname):

    raise NotImplementedError('subclasses    of    BaseDatabaseOperations    may    require    a    datetime_cast_date()    method')
