filemtime($current_file_name);
<?php
// outputs e.g. somefile.txt was last modified: December 29 2002 22:16:23.
$filename = 'somefile.txt';
if (file_exists($filename)) {
echo "$filename was last modified: " . date ("F d Y H:i:s.", filemtime($filename));
}
?>
Also in PHP:
- WC_Product
- date () php day and hour
- collection laravel filter
- encode image to base64
- 500 error ajax laravel
- What is Base64 PHP?
- Backend fatal error: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted in laravel 8
- count characters php
- Custom Order By in CakePHP
- What happens when lava flow reaches the ocean?
- code seef laravel
- date() function
- database seeding
- codeigniter base_url
- ALTER table laravel
- clear cache in laravel 8
- 5 code random number php
- codeigniter load form_validation
- base64 decode php function
- Allowed memory size of 67108864 bytes exhausted (tried to allocate 18878464 bytes) cpanel
- Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file:
- datetime difference in php
- check if string contains only whitespace php
- Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, string given in