Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Last modified date

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Last modified date

Postby JediBookworm » Mon Aug 04, 2003 5:11 pm


I know this is simple, but I would like to know the function that displays the date a file was last modified. I found one for the time, but not the date.

New php-forum User
New php-forum User
Posts: 13
Joined: Mon Jun 30, 2003 3:54 pm
Location: Canada

Postby swirlee » Mon Aug 04, 2003 6:56 pm

Just use filemtime(). Then use date() to format the time (date) however you'd like.
User avatar
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.