'Returns the time that ``self.absolute_path`` was last modified.
May be overridden in subclasses.  Should return a `~datetime.datetime`
object or None.
.. versionadded:: 3.1'

def get_modified_time(self):

    stat_result = self._stat()
    modified = datetime.datetime.utcfromtimestamp(stat_result[stat.ST_MTIME])
    return modified
