Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get the creating date of files ftp python

from datetime import datetime

print datetime.strptime(modifiedTime[4:], "%Y%m%d%H%M%S").strftime("%d %B %Y %H:%M:%S")
# prints something like 01 January 1970 09:30:01
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #creating #date #files #ftp #python
ADD COMMENT
Topic
Name
8+8 =