Quantcast
Channel: GE Intelligent Platforms e-Forum
Viewing all articles
Browse latest Browse all 2516

Displaying DATE_AND_TIME variable

$
0
0
Hello, I am using Proficy Machine Edition, and I am being requested to record the date and time at anytime a user presses a Reset button and display the date and time along side the button on the HMI.

I have created the DATE_AND_TIME variable, and using VBScript I can store the date and time using the "Now()" function. But I cannot figure out how to display it along side the button - none of the objects will compile with this DATE_AND_TIME variable.

I tried converting this variable to a string, but haven't been able to do that using "DateValue" and other functions without the application crashing.
Please Help
Thank you

Viewing all articles
Browse latest Browse all 2516


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>