이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

now Macro

2021년 6월 29일 오후 9:50

The now macro returns the current date and time in a specified format.

The value doesn't update automatically, like a ticking clock. It updates whenever the macro call is rendered, such as when the containing tiddler's display needs to be refreshed for some other reason.

Parameters

format
A string specifying the desired format, defaulting to 0hh:0mm, DDth MMM YYYY

Note: The format string [UTC]YYYY0MM0DD0hh0mm0ssXXX will return a date string representing the UTC time-stamp as it is used in the TiddlyWiki created and modified time-stamp fields.

Introduced in v5.2.0

Tip
You can now pass literal parameters to the now macro in filters. For example, this filter will return all tiddlers created today: [all[tiddlers]] :filter[get[created]format:date[YYYY0MM0DD]match<now YYYY0MM0DD>]

Examples