def today(self, subtree): currentTime = dt.today() currentTimestamp = mktime(currentTime.timetuple()) self.dictionary['timestamp'] = currentTimestamp