Page 1 of 1

Adding DATE to Control Page

PostPosted: Wed Jun 13, 2012 12:27 pm
by CraigM
Is there a way to add the DATE to a control page?

Re: Adding DATE to Control Page

PostPosted: Wed Jun 13, 2012 1:10 pm
by jay (support)
You can use the same method as adding the timestamp - Python datetime objects contain both the date and time so you can use the Python formatting strings to show the date. For instance, the formatting string "%B %d, %Y" would result in "June 13, 2012".

Of course the trigger that updates the variable only needs to run once a day.

Re: Adding DATE to Control Page

PostPosted: Wed Jun 13, 2012 2:33 pm
by CraigM
Excellent! :D Thanks

I'm not sure what else that action can do, but maybe "Insert TimeDateStamp into Variable" would better describe its functions.