$file->modified($format = false)

Returns the unix timestamp or a formatted date for when the file has been modified

Example

// unix timestamp
echo $page->file()->modified();

// formatted date
echo $page->file()->modified('d/m/Y');