Adding DATE to Control Page

Posted on
Wed Jun 13, 2012 12:27 pm
CraigM offline
Posts: 589
Joined: Oct 28, 2007

Adding DATE to Control Page

Is there a way to add the DATE to a control page?

Posted on
Wed Jun 13, 2012 1:10 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Adding DATE to Control Page

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Jun 13, 2012 2:33 pm
CraigM offline
Posts: 589
Joined: Oct 28, 2007

Re: Adding DATE to Control Page

Excellent! :D Thanks

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests