def toSeconds(self): """Return a float that is the number of seconds past the Epoch.""" value = float(timeStampPy._getSeconds(self.cppPvt)) nano = float(timeStampPy._getNano(self.cppPvt)) value += nano / 1e9 return value
def getEpicsSecondsPastEpoch(self): """Return the seconds since the EPICS Epoch as a long. The EPICS Epoch is 1990.1.1 00:00:00 UTC.""" return timeStampPy._getSeconds( self.cppPvt) - TimeStamp.posixEpochAtEpicsEpoch
def getSecondsPastEpoch(self): """Return the secondsPastEpoch as a long.""" return timeStampPy._getSeconds(self.cppPvt)
def getEpicsSecondsPastEpoch(self): """Return the seconds since the EPICS Epoch as a long. The EPICS Epoch is 1990.1.1 00:00:00 UTC.""" return timeStampPy._getSeconds(self.cppPvt) - TimeStamp.posixEpochAtEpicsEpoch