Navigation

 ·   Wiki Home
 ·   Wiki Help
 ·   Categories
 ·   Title List
 ·   Uncategorized Pages
 ·   Random Page
 ·   File Upload
 ·   Uploaded Files
 ·   Recent Changes
 ·   RSS
 ·   Atom
 ·   What Links Here

Active Members:

Search:

 

Create or Find Page:

 

View HowTo Display Events Starting on the Current Day

Question: How can I display a list of events starting today? When I entered my events, the start time was sometime during that day, so until that time goes by, my events won’t show.

Answer: There is a new global variable called {current_time} that you can use with the Start_on Parameter. The key is to change the value of the time parts to be one minute after midnight.

Here’s an example:

{current_time format="%Y-%m-%d 00:01 %A"

NOTE: You’ll need to be running EE 1.6 or later for this to work.