Hello,

I'm interested in getting the time difference in seconds from a set initial date and the current time. Here is what I have so far. Any help is appreciated.

if self.z==1:                          self.initialtime=datetime(2021,3,25)             self.z=2                  #universal variables         self.difference=self.Time-self.initialtime         self.inputx=self.difference.seconds         self.Debug(self.inputx)