Title: [[date]]: Format?
Last modified: April 1, 2023

---

# [[date]]: Format?

 *  Resolved [Frank J.](https://wordpress.org/support/users/frank-j/)
 * (@frank-j)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/date-format-239/)
 * Hi Brian,
 * in the documentation ([https://noptin.com/guide/sending-emails/email-tags/](https://noptin.com/guide/sending-emails/email-tags/))
   I read the following about the [date](https://codex.wordpress.org/date) tag:
 * > Displays today’s date, in the format set in your WordPress settings.
 * My WordPress settings are “j. F Y” — which results in “1. April 2023”.
 * The date in the admin notification mail I just created to get to know about new
   subscribers the result looks like this: “2023-04-01”.
 * Where can/should I set the date format that fits?
 * Cheers, Frank
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdate-format-239%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Frank J.](https://wordpress.org/support/users/frank-j/)
 * (@frank-j)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/date-format-239/#post-16649022)
 * Any ideas regarding this?
 *  Plugin Author [Noptin Newsletter Team](https://wordpress.org/support/users/picocodes/)
 * (@picocodes)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/date-format-239/#post-16651408)
 * The date tag defaults to Y-m-d when used in automation rules so as to allow date
   based calculations in conditional logic.
 * The next update will allow formatting and localizing the date and time.
 * You’ll be able to use it like this:-
 *     ```wp-block-code
       [[date format="j, F Y" localized=1]]
       [[time format="g:i a" localized=1]]
       ```
   
 * Or if you need to display a relative date and time…
 *     ```wp-block-code
       [[date relative="tomorrow" format="j, F Y" localized=1]]
       [[time relative="+3 hours" format="g:i a" localized=1]]
       ```
   
 * You can add the following patch to your site if you wish to start using this 
   immediately.
 * [https://github.com/hizzle-co/noptin/commit/2a38a04a1ae14314ac3c7f939ec0b98e495049dc](https://github.com/hizzle-co/noptin/commit/2a38a04a1ae14314ac3c7f939ec0b98e495049dc)
 *  Thread Starter [Frank J.](https://wordpress.org/support/users/frank-j/)
 * (@frank-j)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/date-format-239/#post-16651443)
 * Great! Thanks, Brian!
 * Cheers, Frank

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[[date]]: Format?’ is closed to new replies.

 * ![](https://ps.w.org/newsletter-optin-box/assets/icon-256x256.png?rev=3355797)
 * [Simple Newsletter Plugin - Noptin](https://wordpress.org/plugins/newsletter-optin-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/newsletter-optin-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/newsletter-optin-box/)
 * [Active Topics](https://wordpress.org/support/plugin/newsletter-optin-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/newsletter-optin-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/newsletter-optin-box/reviews/)

## Tags

 * [date format](https://wordpress.org/support/topic-tag/date-format/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frank J.](https://wordpress.org/support/users/frank-j/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/date-format-239/#post-16651443)
 * Status: resolved