/
proc
/
3430793
/
task
/
3430793
/
cwd
/
usr
/
lib
/
python3
/
dist-packages
/
landscape
/
lib
/
File Upload :
llllll
Current File: //proc/3430793/task/3430793/cwd/usr/lib/python3/dist-packages/landscape/lib/timestamp.py
from datetime import datetime def to_timestamp(date, epoch=datetime.utcfromtimestamp(0)): """Convert a C{datetime} to an C{int}-based timetamp.""" delta = date - epoch return (delta.days * 60 * 60 * 24) + delta.seconds
Copyright ©2k19 -
Hexid
|
Tex7ure