I am having trouble formatting %Time to a JSON format. I have tried configuring the parameter "FORMAT" of my property but that didn't work. For some reason, it keeps putting a Z and the end of the time.
Property:
Property TimeCollected As %Time(FORMAT = "2");
Setting the Property through a custom function which is used in the DTL:
set convertedDateTime= ##class(Ens.Util.Time).


.png)




