How can I set the start_date and end_date attributes’ values?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101022
    Neil Dickinson
    Participant

    Hi, a quick question around start_date and end_date values in formulas.

    How do you write the date values, is it start_date=”08-03-2022″ end_date=”09-03-2022″ ? or something else?

    thanks

    Neil

    #101023
    Moshtafizur
    Moderator
    Plugin Support

    Hello Neil,

    I hope you are well today.

    We are using PHP strtotime() function to parse date format, so it should basically parse about any English textual date-time description. I would recommend using the MySQL DATETIME format (YYYY-MM-DD hh:mm:ss), i.e.:

    [alg_wc_mppu limit="5" term_id="321" start_date="2022-03-08" end_date="2022-03-09"]
    

    I hope that helps. If you have any other questions or need assistance, please contact me.

    Kind regards,
    Moshtafizur

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.