• Resolved isar3dk

    (@isar3dk)


    Hi there!

    I am looking for a way to substract an exact number of years (or days) from a set date in the current year.

    Meaning: for our “Under 11 years old” soccer teams (U11) we need players from the years 2013/2014 (the soccer year begins July 1st every year.

    Maybe to make it very clear the formula should be something like this:
    dd-mm-[current year] – [number of] years = [year]
    in our case
    01-07-2024 – 11 years = 2013

    Is this possible, and if so, how?

    Looking forward to hear from you.

    Many thanks and
    best regards,

    Daniel

    The page I need help with: [log in to see the link]

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

    (@denra)

    Hi Daniel,

    If we are following your formula, please try the following:

    [wpdts-year start="Jul 1" years="-11"]

    Please let us know if it works for you.

    Thank you for trying our plugin!

    Denra.com

    Plugin Author Denra.com

    (@denra)

    Since there is no communication on this support thread we are closing it. Please contact us again if you need additional help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Substract a specific number of years from a set date in the current year’ is closed to new replies.