2014-10-13 16:08:28 +00:00
|
|
|
caption: now
|
2014-10-08 16:46:34 +00:00
|
|
|
created: 20141008141616791
|
2014-10-13 16:08:28 +00:00
|
|
|
modified: 20141013180540337
|
2014-10-08 16:46:34 +00:00
|
|
|
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">>
|
|
|
|
|