Last modified date

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Last modified date

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

Hello,

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.

Thanks

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

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

Just use filemtime(). Then use date() to format the time (date) however you'd like.


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron