Module:Now
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Module documentation[view] [edit] [history] [purge]
- 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 "2026-06-22 05:20:17").
You can format its output using other templates or modules.
Usage
[edit source]You loaded this page at {{#invoke:now|main}}.
- You loaded this page at 2026-06-22 05:20:17.