Tips & Tutorials – PHP

Convert Unix Timestamp To Date In PHP (Simple Examples)

Welcome to a quick tutorial on how to format a Unix Timestamp to a readable date and time in PHP. Need to get a “human-friendly” date from a Unix Timestamp? We can use the date function to format a Unix Timestamp in PHP. To the ISO 8601 format – $formatted = date(DateTimeInterface::ATOM, $UNIX); To MySQL …

Convert Unix Timestamp To Date In PHP (Simple Examples) Read More »

4 Ways To Set Execution Time Limit in PHP – Quick Examples

Welcome to a tutorial on how to set the execution time limit in PHP. So you want to change the allowed execution time in PHP to prevent timeout errors on a massive script? There are 4 ways to change the execution time limit in PHP: Change max_execution_time = SECONDS in php.ini. On an Apache webserver, …

4 Ways To Set Execution Time Limit in PHP – Quick Examples Read More »