Get actual Time Stamp
Hey Guys! As we can't import libraries into Thingworx, I have a problem regarding a time stamp.
For my factory I need to generate the time stamp in the following format: YYYY-MM-DDThh:mm:ss.fffZ in UCT standard time.
When I use: var date = dateFormat(new Date(), "MMMMM d, yyyy hh:mm:ss"); The date returns obviously in the "MMMMM d, yyyy hh:mm:ss" format. I use this format, becasue I can't use "YYYY-MM-DDThh:mm:ss.fffZ" in the dateFormat-function, because then a failure is returned regarding the T and the Z.
I hope anyone can help me to return the actual UCT time in the following format: "YYYY-MM-DDThh:mm:ss.fffZ"

