Functions / timedate.py
Omnibus's picture
Create timedate.py
bf4ee32
raw
history blame contribute delete
173 Bytes
import datetime
def timename():
timestamp=str(datetime.datetime.now())
timename=timestamp.replace(" ","--").replace(":","-").replace(".","-")
return(timename)