How to show users the current date or time

From Lifeguide Wiki
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 and it will be shown on page1:

show page1 set page1.displaytime to printtime (currenttime, "H:m d-M-y")

Please see the tutorial intervention 'Time and Date' on the LifeGuide Community Website for a demo of this function and how it can be used in other ways.