Getting Date before or after 3 days from current date using PHP
In this Tutorial, we are showing how to get date before or after 3 days from current date.
By using a simple method we can perform this in our live project.
Here we are: -
Just copy this code and can use it into your project.
Note: - According to the requirement you can also change into the code. Like how many days you required before and after current date. In the Example, We are using 3 days before and after. just you have to change into "($curdate-3)" 3 number.
We can also get date after 3 days from the current date.
Note: - For using after current date change the difference of date by changing the "($curdate+3)" 3 number to get according yourself.
You Might Also Read : -
- How to Send Bulk Emails in java Technology.
- How to Check all Checkboxes by clicking one checkbox.
- How to Completely Disable cache for PHP project.
- How to Send data using Ajax and JavaScript into database.
- Dynamically Add Input fields into the form using JQuery.
- Magento Issues While Installing a New Installation or Theme.
- JQuery Technique for URL, How to Get QueryString parameter from URL.
- How to make and create cookie Using JavaScript Code.
- PHP interview Question fresher to 2 years.
0 comments :
Post a Comment