It's kind of a silly question, but what would be the maximum INT value of a time()
and it's future date, e.g.
1st January 2999
Would time() ever get to that value? Going for a large time()
value would return this:
Thu 1st Jan 1970 1:00AM
A normal int date
1287320788 - outputs today's date: Sun 17th Oct 2010 2:06PM
But I'm only curious for the biggest int date and the last date.
Maximum execution time (max_execution_time) is a time limit on how long a PHP script can run. It is a way hosting providers can limit the use and abuse of server resources, especially for shared hosting. The actual default value depends on the hosting, but it-s usually set to 30 (i.e. 30 seconds).
You can control the amount of time PHP allows scripts to run by changing the max_execution_time directive in your php. ini file. To verify the current value of the max_execution_time directive and other directives, you can use the phpinfo() function.
One of these rules, Max_Execution_Time, defines the maximum time a script can run for. By default, this is set to 30 seconds. If a script runs for longer than 30 seconds, it is automatically stopped, and an error is reported.
The last 32-Bit Integer timestamp will be reached January 19, 2038. This is known as the Year 2038 problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With