Loading...
 

Date Conversion

Many content types in Tiki store date as a UNIX Timestamp. In order to keep profiles readable, it's best to avoid writing those in pages.

Profiles support multiple date formats through the GNU Date Input Formats. Both absolute dates (2008-10-20 12:00:00) and relative dates (next Monday) from install time are supported.

To perform the replacement anywhere within a profile, D(text here) can be used. For instance, for November 1st, 2008, at 1 pm, you could write:
D(2008-11-01 13:00:00)


For sample usage in production, see the Event Management System.
Category: Documentation