'Convert an ORM ``value`` into a :class:`date` value.'

@staticmethod
def from_string(value):

    if (not value):
        return None
    value = value[:DATE_LENGTH]
    return datetime.strptime(value, DATE_FORMAT).date()
