Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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));
}
?>

Comment

PREVIOUS NEXT
Code Example
Php :: How to add new column in table laravel 
Php :: laravel add column to existing table 
Php :: how to get value of textarea in php 
Php :: convert dd/mm/yyyy to yyyy-mm-dd in mysql php 
Php :: push element at tart of arrray php 
Php :: php subtract seconds from datetime 
Php :: laravel if file is image 
Php :: how to one increment after post in laravel collective 
Php :: how to convert string word to lowercase in php 
Php :: how to create compomemt in laravel livewire 
Php :: composer allowed memory size 
Php :: Add 2 hours to current time in cakephp 
Php :: php artisan cache:clear Failed to clear cache. Make sure you have the appropiate permissions 
Php :: php index of last element in array 
Php :: laravel validation array 
Php :: php artisan up 
Php :: time duration calculation laravel 
Php :: laravel migration change default value 
Php :: create user with tinker php laravel 
Php :: laravel eloquent get last 
Php :: php multi type parameter union types 
Php :: laravel print log 
Php :: How to fix MySql: index column size too large (Laravel migrate) 
Php :: laravel instal 
Php :: left join in laravel 
Php :: add acf options page 
Php :: pagination prestashop 1.7 
Php :: aws s3 laravel package 
Php :: laravel join table 
Php :: mysqli real escape string php 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =