13 Apr
2000
13 Apr
'00
12:36 a.m.
Can enybody explain the format of the "byte serial" on the Data.fs? the FileStorage.py reads: "8 byte serial, type stamp that matches the transaction timestamp"
from ZODB.TimeStamp import TimeStamp ts = apply(TimeStamp, _p_serial) t = ts.timeTime() Now t contains a floating point number in seconds since the epoch, like the return value from time.time(), which you can use with the functions in the time module or to construct a DateTime object. Hope this helps, -jfarr