1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 09:43:16 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid
saqimtiaz adf0c1a12a
Documentation for format filter operator (#4895)
* Documentation for format operator

* Examples for format operator
2020-10-23 16:25:05 +01:00

17 lines
582 B
Plaintext

created: 20201020102735123
modified: 20201020104004306
tags: [[Operator Examples]] [[format Operator]]
title: format Operator (Examples)
type: text/vnd.tiddlywiki
These examples use the tiddler HelloThere.
Created date with no format string specified:
<<.operator-example 1 "[[HelloThere]get[created]format:date[]]">>
Created date with a format string supplied as operator parameter:
<<.operator-example 2 "[[HelloThere]get[created]format:date[DDth MMM YYYY]]">>
Modified date shown as a relative date:
<<.operator-example 3 "[[HelloThere]get[modified]format:relativedate[]]">>