Hello I am coming from a wonderware background so bare with me. I am trying to snap shot the current time into a string from a push button can’t seem to get just the time.
You can use the dateFormat function and format the DateTime object to just the time portion
Also, welcome aboard the Ignition train
You’ll want to examine string formatting in Python, but this will do what you’re looking for. Keep in mind this will be the time of the Gateway - not the client.
Ah yes, button = python, whoops!
Thanks guys! I just needed to be pointed in the right direction.