def METHOD_NAME(cls):
    """The date/time when the file was uploaded."""
    if not cls.add_file_date_column:
        return None
    return db.Column(
        UTCDateTime,
        nullable=not cls.file_required,
        default=now_utc
    )