code: def get_timestamp(self, **kwargs):
          
          timestamp = kwargs.get('timestamp')
          if not timestamp:
              now = datetime.datetime.utcnow()
              timestamp = now.strftime("%Y-%m-%dT%H:%M:%S") + ".%03d" % (now.microsecond / 1000) + "Z"
  
          return timestamp
docs: Retrieves the timestamp for a given set of data