1. Home
  2. Docs
  3. Shortcodes
  4. Current Year Shortcode

Current Year Shortcode

The current year shortcode outputs the current calendar year, it can be mainly used for the copyright notice that most websites include in the footer. The shortcode can be useful if you don’t want to remember to update the copyright year.


Usage:

[​currentyear]

Output:

2024

Was this article helpful to you? No Yes

How can we help?