Is it possible to import the datetime python module?
So I could use the datetime module in my mouseclick action?
Thanks
Is it possible to import the datetime python module?
So I could use the datetime module in my mouseclick action?
Thanks
We don’t include the Python datetime module in Ignition. However, you can access Java’s Date and Calendar classes:from java.util import Calendar
from java.util import Date
cal = Calendar.getInstance()
cal.setTime(Date())
....
Hopefully that helps you.