1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 23:04:50 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/NowMacro.tid
Jermolene e872f17842 Add a new journal page toolbar button
Spot the easter egg with the toolbar button…

Fixes #336
2014-10-08 17:46:34 +01:00

29 lines
499 B
Plaintext

caption: qualify
created: 20141008141616791
modified: 20141008142012309
tags: Macros
title: NowMacro
type: text/vnd.tiddlywiki
The 'now' macro returns the current date and time, formatted with an optional format string.
! Parameters
|!Position |!Name |!Description |!Default |
|1st |format |DateFormat string specifying the format for the date/time |`0hh:0mm, DDth MMM YYYY` |
! Examples
For example:
```
* <<now>>
* <<now "DDth MMM YYYY">>
```
Returns:
* <<now>>
* <<now "DDth MMM YYYY">>