Date Equation | WordPress.org

[ad_1]

Hello;
I’m trying to set up an equation but I couldn’t succeed.

I want to do this..

There will be 2 dates in the background:
It will cover the period between 11 March + ()YEAR and 09 April + ()YEAR..

When the user says calculate.. It will get today’s date in the background..

In other words, March 19 will calculate the number of days between the two dates above. In other words, it will calculate that it is the 9th day.

If this date is not between 11 March + ()YEAR and 09 April + ()YEAR, today’s date will be displayed as an error message.

I wonder how we will set up the equation?

Thanks.

  • This topic was modified 52 minutes ago by fibbu.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer