Esempio n. 1
0
 def createTimestampValue(self):
     return timestampUNIX(self["value"].value)
Esempio n. 2
0
 def createValueDate(self):
     value = (self["timestamp_microsec"].value * 0.001) - (self["timestamp_sec"].value * 60)
     return timestampUNIX(value)
Esempio n. 3
0
 def createTimestampValue(self):
     return timestampUNIX(self["value"].value)
Esempio n. 4
0
 def createValueDate(self):
     value = (self["timestamp_microsec"].value * 0.001) \
         - (self["timestamp_sec"].value * 60)
     return timestampUNIX(value)
Esempio n. 5
0
 def getDatetime(self):
     """
     Create modification date as Unicode string, may raise ValueError.
     """
     timestamp = self.getOctal("mtime")
     return timestampUNIX(timestamp)
Esempio n. 6
0
 def getDatetime(self):
     """
     Create modification date as Unicode string, may raise ValueError.
     """
     timestamp = self.getOctal("mtime")
     return timestampUNIX(timestamp)