Use strtotime with date
$invoiceParams[2] = date('m-d-Y',strtotime(" +7 days"));
More Related Contents:
- How to avoid to display this error in PHP?
- What is the correct way to apply css on php echo?
- laravel change validation default message from front side
- Sending email with PHP from an SMTP server
- How to get ID of the last updated row in MySQL?
- Access a JavaScript variable from PHP
- When should I use MySQLi instead of MySQL?
- How to catch cURL errors in PHP
- How to post pictures to instagram using API
- Is there a way to find out how “deep” a PHP array is?
- CORS not working php
- Round minute down to nearest quarter hour
- Access PHP var from external javascript file
- In a PHP / Apache / Linux context, why exactly is chmod 777 dangerous?
- Call to undefined function curl_init().? [duplicate]
- How to get SSL certificate info with CURL in PHP?
- PHP inserting multiple checkbox AND textbox arrays into MySQL Database
- jQuery Mobile: How to correctly submit form data
- Remove non-numeric characters (excluding periods and commas) from a string (i.e. remove all characters except numbers, commas, and periods)
- PDO fetchAll array to one dimensional
- How to remove square brackets and anything between them with a regex?
- SQLite database hosted on Heroku getting automatically reset
- A PHP script to let users download a file from my website without revealing the actual file link in my website?
- Easy way to apply a function to an array
- MySQL Stored Procedure vs. complex query
- How to hide PHP file extension without using .htaccess
- Modify an Existing PHP Function to Return a String
- PHP – How to send an array to another page?
- How do I convert an ISO8601 date to another format in PHP?
- How to keep leading zeros in PHP integer [duplicate]