mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-28 04:19:56 +00:00
80256b4dab
* Add string '.htm' to 'Saving with TiddlyIE' * Change external links to match locale with wiki language * Add instructions for use to 'Saving on Android' * Change string in 'task' * Change instructions for use in 'Saving on iPad/iPhone' * Add newline to 'TiddlyDesktop Releases' * Remove caption from 'Serving TW5 from Android' * Change link to external in tiddlers which tagged 'Editions' * Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki' * Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community' * Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community' * Change string 'done' to 'Upgrade' in 'UpgradeMechanism' * Change buttons to images in 'How to export tiddlers' * Add images about buttons to tiddlers * Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement' * Rename 'UsingSVG' to 'Using SVG' * Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG' * Add tiddler 'Using Stamp' * Add 'rel="noopener noreferrer"' to external links * Add description about 'rel="noreferrer"' to 'HTML in WikiText' * Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language' * Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library' * Add download button to 'Empty Edition'
29 lines
967 B
Plaintext
29 lines
967 B
Plaintext
created: 20150117190213631
|
|
modified: 20150124214537000
|
|
tags: Concepts
|
|
title: Date Fields
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Certain [[fields|TiddlerFields]] of a tiddler are used to store dates and times.
|
|
|
|
The two standard date fields are <<.field created>> and <<.field modified>>.
|
|
|
|
Values of date fields are 17-character strings:
|
|
|
|
* 4 digits for the year
|
|
* 2 digits for the month
|
|
* 2 digits for the day
|
|
* 2 digits for the hour
|
|
* 2 digits for the minute
|
|
* 2 digits for the second
|
|
* 3 digits for the millisecond
|
|
|
|
To avoid problems arising from differences of time zone, TiddlyWiki always uses [[UTC|http://en.wikipedia.org/wiki/Coordinated_Universal_Time]].
|
|
|
|
As an example, the <<.field created>> field of this tiddler has the value <<.value """<$view field="created"/>""">>.
|
|
|
|
Dates can be [[converted to other formats|DateFormat]] for display:
|
|
|
|
<$macrocall $name="wikitext-example-without-html"
|
|
src="""<$view field="created" format="date" template="DDD DDth MMM YYYY"/>""">
|