Loading...
 

Derived Attribute of a date

For any WikiPlugin that uses Search and List from Unified Index (ex.: very useful in PluginPivotTable but it works in PluginList etc.)

You can customize the date format to show only the date or week or month, not the specific date or time. Ex.:

  • only the day number of the month with %d , or
  • only the day number of the year with %z , or
  • only or the week number of the year with %W , or
  • only the month number with %m , or
  • only the year with %Y , etc

This way, you can get the aggregated values of interest for your report.

Example of code to display only the month number from these dates so that you can draw charts with counts per month, etc:

Copy to clipboard
{display name="creation_date" format="date" dateFormat="%m"} {display name="modification_date" format="date" dateFormat="%m"}


Full list of codes available here:
http://php.net/manual/en/function.date.php

It is similar to this but directly in Tiki. And it's fast because it's done by PHP. It is also similar to Grouped Data.

Numeric representation of a month, with leading zeros

Use this in a Pivot Table so all dates are converted the month number
Copy to clipboard
{display name="tracker_field_TimeSheetDate" default="" format="date" dateFormat="%m"}

ISO-8601 week number of year, weeks starting on Monday

Use this in a Pivot Table so all dates are converted the week number
Copy to clipboard
{display name="tracker_field_TimeSheetDate" default="" format="date" dateFormat="%W"}

Year and month

The examples above will put data for January 2019 with January 2020 together. Instead, you can segment months like this:

Copy to clipboard
{display default="" name="tracker_field_TimeSheetDate" format="date" dateFormat="%Y-%m"}

Year and week

And now for weeks. %o is used instead of %Y because This has the same value as Y, except that if the ISO week number (W) belongs to the previous or next year, that year is used instead.

Copy to clipboard
{display name="tracker_field_TimeSheetDate" format="date" dateFormat="%o-%W"}


doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki