Get Last File Modification Time

Please refer below script to get last file modification time ,

import os
import time
print time.ctime(os.stat("C:\\Users\\Max\\Desktop\\listlogfiles.ps1").st_mtime)

sample output would be as below,

Thu Sep 22 02:58:46 2016