How to show users the current date or time

From Lifeguide Wiki
Revision as of 14:41, 15 May 2015 by Judy (talk | contribs)
Jump to navigation Jump to search

On the page that you would like to show the current date and time, you will need to create a printed variable. Please click on the category link at the bottom of this page for the link showing you how to do this.

In this example, we will call the printed variable displaytime will it will be shown on page1:

show page1 show page1.displaytime to printtime(loadnumber(username, "currentlogintime"), "H:m d-M-y")

Please see the tutorial intervention 'Time and Date' for a demo of this function.

Category: