2014-10-13 16:08:28 +00:00
caption: now
2014-10-08 16:46:34 +00:00
created: 20141008141616791
2015-02-24 16:41:16 +00:00
modified: 20150221170300000
tags: Macros [[Core Macros]]
title: now Macro
2014-10-08 16:46:34 +00:00
type: text/vnd.tiddlywiki
2015-02-24 16:41:16 +00:00
The <<.def now>> [[macro|Macros]] returns the current date and time in a specified [[format|DateFormat]].
2014-10-08 16:46:34 +00:00
2015-02-24 16:41:16 +00:00
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.
2014-10-08 16:46:34 +00:00
2015-02-24 16:41:16 +00:00
!! Parameters
2014-10-08 16:46:34 +00:00
2015-02-24 16:41:16 +00:00
;format
: A string specifying the desired [[format|DateFormat]], defaulting to `0hh:0mm, DDth MMM YYYY`
2014-10-08 16:46:34 +00:00
2015-02-24 16:41:16 +00:00
<<.macro-examples "now">>