How to auto-fill month name in date field?
-
Hey guys, I’m trying to include the current month’s name (“January”, “February” etc.) in form e-mails.
I read that the date field allows for auto-filling in relative date formats that are available in PHP:
https://contactform7.com/date-field/#specifying-a-date-with-relative-date-formats
https://www.php.net/manual/en/datetime.formats.phpSo I tried this:
<label> Monat [date monat-fest "m"] </label>
However, the e-mail I receive has this in it:
Monat: 2022-09-05
Is there any way I can make it say, “Monat: September”?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to auto-fill month name in date field?’ is closed to new replies.