[Solved] Date order format
Hello, is there a way to change the order of the date so month is first, then day?
Thanks!
Tagged:
Hello, is there a way to change the order of the date so month is first, then day?
Thanks!
Comments
@barb
Thank you for your post.
Are you referring to the date being output by the
[wpmldate...]
shortcode or?I look forward to your response with more details.
Yes I am. thanks.
Instead of : 31/07/2015 this: 07/31/2015
Thanks, The newsletter plug in. It's being used in shortcode format [wpmldate]
One-Man News
31/07/2015
@barb
Thank you for your response.
The
[wpmldate]
shortcode has aformat
parameter/attribute eg.[wpmldate format="%d/%m/%Y"]
It uses PHP strftime as the format. See different values/formats here: http://www.php.net/manual/en/function.strftime.php
I'll mark this as [Solved] if that's okay?
I've gone to themes/templates, selected to edit "Paper Phase", changed the shortcode to [wpmldate format="%M/%d/%Y"] and yet the output is still "30/10/2016".
What do I do?
Please make sure to use the shortcode in this format [wpmldate format="%m/%d/%Y"]
if you want to output 30/10/2016
The %m in [wpmldate format="%m/%d/%Y"] should be a small letter.
Regards
Marietha
Thank you for confirming.
I'm glad it resolved your issue.
I'll go ahead and mark this thread as solved.
Regards
Marietha