Jump to content

Module:CurrentUTC/doc

From Meta, a Wikimedia project coordination wiki

Functions

[edit]

now(frame)

[edit]
  • escription: Returns the current date and time in UTC.
  • Parameters: `frame` (optional)
  • Returns: A formatted string with date and time.
  • Example:

{{#invoke:ModuleName|now}}

Features

[edit]
  • Full date display including day, month name, and year.
  • Time shown in 24-hour format with leading zeros.
  • Includes icons for a visually appealing display.
  • Simple integration into any wiki page via `#invoke`.

Future Enhancements

[edit]
  • Multi-language support for month names.
  • Option to display time in 12-hour format.
  • Integration with local timezone modules for user-specific time.

Output

[edit]

When used, the module will display something like this:

📅 Today: 13 November 2025 | 🕒 UTC: 14:37