Hello,
I have a gateway tag change script that has the following code:
tag_path = event.tagPath.getParentPath()
data_value = event.getCurrentValue().value
timestamp = event.getCurrentValue().timestamp
tag_path_str = str(tag_path)
tag_full_name_str = str(event.tagPath)
I want to know what the format of the timestamp is. I understand the getCurrentValue returns a 'Qualified Value' which includes the value, quality and timestamp of the value. I am sending the payload file to Azure. When I get it in Azure the file name of the .json is a string of identifiers and the date and time appended at the end. I am looking to change the format of the date/time in the file name but do not know if this is possible using Ignition.
Any help is appreciated.