Because you are passing a string as the second argument to the date function, which should be an integer.
string date ( string $format [, int $timestamp = time() ] )
Try strtotime which will Parse about any English textual datetime description into a Unix timestamp (integer):
date("d", strtotime($_GET['start_date']));
Related Posts:
- How to get time difference in minutes in PHP
- Converting string to Date and DateTime
- Compare given date with today
- How to reformat date in PHP?
- How to find the date of a day of the week from a date using PHP?
- Convert a date format in PHP
- How to find the last day of the month from date?
- how to get date of yesterday using php?
- Contact Form 7 – Custom Validation
- What is the MM/DD/YYYY regular expression and how do I use it in php?
- Subtracting days, months or years from date using php
- PHP date yesterday [duplicate]
- create php live clock
- Adding days to $Date in PHP
- Replace ' and similar html codes with their correspondent character?
- How to prevent the “Confirm Form Resubmission” dialog?
- navigate back with PHP form submission
- How do I make a redirect in PHP?
- List of All Locales and Their Short Codes?
- How to fix “Headers already sent” error in PHP
- “Notice: Undefined variable”, “Notice: Undefined index”, and “Notice: Undefined offset” using PHP
- http://localhost:80 is not working on running Apache server through UniServer ZeroXIII
- How do I get PHP errors to display?
- Get the full URL in PHP
- How to force file download with PHP
- How to Set Category Page as Home Page in Prestashop
- How to copy a file from one directory to another using PHP?
- Getting an error when I visit http://localhost
- PHP random string generator
- What are the differences in die() and exit() in PHP?
- Expected status code 200 but received 500
- How do I use PHP to get the current year?
- Can you “compile” PHP code and upload a binary-ish file, which will just be run by the byte code interpreter?
- How to get the file extension in PHP?
- Invalid argument supplied for foreach()
- Remove the last character from a string
- How to prevent Browser cache for php site
- what does a .php?id=&value=value means?
- Setting up a PHP interpreter in PhpStorm
- Get Current URL in Magento and show something
- Weird PHP error: ‘Can’t use function return value in write context’
- Create PDF file using PHP
- How do I get a YouTube video thumbnail from the YouTube API?
- How to call function of one php file from another php file and pass parameters to it?
- SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
- Is it possible to run .php files on my local computer?
- Validate date in dd/mm/yyyy format using JQuery Validate
- MAMP “Apache couldn’t be started because port is in use.” AND “Can’t connect to local MySQL server through /tmp/mysql.sock
- Php include not working? function not being included
- PHP mail function doesn’t complete sending of e-mail
- Convert php array to Javascript
- phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)
- SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens on line 102
- Warning: mysqli_query() expects parameter 1 to be mysqli, resource given
- Fatal error: Call to undefined function money_format()
- What does MYSQLI_NUM mean and do?
- Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)
- Laravel 5 Clear Views Cache
- phpinfo() is not working on my CentOS server
- ERROR: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
- What does double question mark (??) operator mean in PHP
- How can I find the php.ini file used by the command line?
- Check if a PHP cookie exists and if not set its value
- Deprecated: mysql_query() [duplicate]
- Call to undefined function mysql_query() with Login [duplicate]
- Is there a function to make a copy of a PHP array to another?
- Fatal error: Maximum execution time of 30 seconds exceeded
- How to POST JSON Data With PHP cURL?
- cURL request in Laravel
- htmlentities() vs. htmlspecialchars()
- PHP array printing using a loop
- Fastest way to implode an associative array with keys
- PhpMailer SMTP NOTICE: EOF caught while checking if connected
- Facebook – Error parsing input URL, no data was cached, or no data was scraped
- How to use $_SERVER[‘HTTP_REFERER’] correctly in php?
- what is $_SERVER[‘QUERY_STRING’] ? how it works?
- PHP Error : Fatal error: Constant expression contains invalid operations
- JavaScript equivalent of PHP’s in_array()
- Create a folder if it doesn’t already exist
- Implement linked list in php
- Can I store images in MySQL
- MySQL Daemon Failed to Start – centos 6
- How to remove index.php from WordPress site URL
- Remove warning messages in PHP
- How to generate .json file with PHP?
- Call to a member function on a non-object [duplicate]
- Generate PDF from HTML PHP
- Call to a member function fetch_assoc() on boolean in
[duplicate] - How to use Memcached with PHP7?
- Remove empty array elements
- select count(*) from table of mysql in php
- Auto increment in phpmyadmin
- Correct Approach for Validating Custom Field Input
- Unable to set right time in admin and frontend template
- Print last modified date only on posts
- Only showing the_date and the_excerpt for first entry in get_posts
- How would I use this filter to change the output of the date format to “Twitter time”?
- Contact form – problem with displaying message about sent mail
- Issue in displaying the ongoing event and current events in the post
- Convert custom field date format to “WordPress default”