SyntaxFix
Write A Post
Hire A Developer
Questions
For a human readable timestamp from a UNIX timestamp, I have used this in scripts before:
import os, datetime datetime.datetime.fromtimestamp(float(os.path.getmtime("FILE"))).strftime("%B %d, %Y")
Output:
'December 26, 2012'