View unanswered posts | View active topics It is currently Thu May 23, 2013 12:04 pm



Reply to topic  [ 3 posts ] 
 Adding DATE to Control Page 
Author Message

Joined: Oct 28, 2007
Posts: 299
Post Adding DATE to Control Page
Is there a way to add the DATE to a control page?


Wed Jun 13, 2012 12:27 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6660
Location: Austin, Texas
Post 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)
Image


Wed Jun 13, 2012 1:10 pm
Profile WWW

Joined: Oct 28, 2007
Posts: 299
Post 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.


Wed Jun 13, 2012 2:33 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.