I think one of the best solutions and easiest is:
date("Y-m-d", strtotime("+30 minutes"))
Maybe it’s not the most efficient but is one of the more understandable.
Related Contents:
- Only last link of css is taking effect
- Help with a unexpected T_ELSE [closed]
- How to produce a unique number from combination of 2 numbers (in any order) in PHP? [closed]
- How to squeeze error message out of PDO? [duplicate]
- Query with multiple values in a column
- Get $_POST from multiple checkboxes
- What are the PHP operators “?” and “:” called and what do they do?
- mcrypt is deprecated, what is the alternative?
- Access a JavaScript variable from PHP
- Slowness found when base 64 image select and encode from database
- PHP: running scheduled jobs (cron jobs)
- Transposing multidimensional arrays in PHP
- Best way to parse RSS/Atom feeds with PHP [closed]
- How to use return inside a recursive function in PHP
- How can I add a PHP page to WordPress?
- How to prevent code injection attacks in PHP?
- Sending HTML email from PHP
- How to pass variable number of arguments to a PHP function
- Making sure PHP substr finishes on a word not a character
- Are there good tutorials on how to use PDO? [closed]
- Multiple Image Upload PHP form with one input
- How do I install cURL on Windows?
- How to locate the php.ini file (xampp)
- Storing PHP arrays in cookies
- how to change php version in htaccess in server
- mysql_fetch_array() expects parameter 1 to be resource problem [duplicate]
- CURL PHP send image
- Laravel Socialite: InvalidStateException
- Two-way encryption in PHP
- php: recreate and display an image from binary data
- Codeigniter displays a blank page instead of error messages
- How to generate random 64-bit value as decimal string in PHP
- Stop caching for PHP 5.5.3 in MAMP
- How to read a single file inside a zip archive
- Accessing @attribute from SimpleXML
- Generating a random hex color code with PHP
- PHP get start and end date of a week by weeknumber
- Get array’s key recursively and create underscore separated string
- Twig iterate over object properties
- Converting HTML to PDF (not PDF to HTML) using PHP [closed]
- DateTime class vs. native PHP date-functions
- Handle Guzzle exception and get HTTP body
- What is the PHP shorthand for: print var if var exist
- non-breaking utf-8 0xc2a0 space and preg_replace strange behaviour
- How to download large files through PHP script [duplicate]
- DOMXpath – Get href attribute and text value of an a element
- Backreference does not work in PHP
- PHP re-order array of month names
- Uncompress a gzip file from CURL, on php
- Get Last Executed Query in PHP PDO