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