Module:Now/doc
Appearance
This is a documentation subpage for Module:Now. It may contain usage information, categories and other content that is not part of the original module page. |
- Returns the current timestamp.
- ???
- Profit!
Because this is a module, it actually executes on each page load, meaning you can avoid the caching issues that sometimes arise from determining the current time using a template (i.e. {{#time:Y-m-d h:i:s|now}}
, which returns "2024-10-31 03:17:47").
You can format its output using other templates or modules.
Usage
[edit]{{#invoke:now|main}}
- 2024-10-31 15:17:47