• Resolved kweis

    (@kweis)


    Hi,

    Thanks for the great plugin! I can’t seem to figure out how to do this format: Mon, Sept 23

    I need to also have a future date in that same format

    Can you help??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Denra.com

    (@denra)

    Hi kweis,

    You may achieve this date format by using the custom item with format attribute:
    [wp-dt-custom format="D, M j"]

    If you need to add for example 1 year, 2 months and 3 days to the current WP date use the following shortcode:
    [wp-dt-custom format="D, M j" years="+1" months="+2" days="+3"]

    Please see the letters you may use in the format string at:
    https://www.php.net/manual/en/function.date.php

    If you need more info on plugin features or help please read the plugin description with samples or contact us again.

    Plugin Author Denra.com

    (@denra)

    PS: If you need a specific future date please use the init attribute, e.g.

    [wp-dt-custom format="D, M j" init="2020-05-23"]

    Plugin Author Denra.com

    (@denra)

    Hello kweis,

    Did you succeed to solve your issue?

    If we do not hear from you in the next days we will close the thread as resolved.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date format and future date’ is closed to new replies.