Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 13
- Joined: Mon Jun 30, 2003 3:54 pm
- Location: Canada
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.
- Posts: 2272
- Joined: Sat Jul 05, 2003 1:18 pm
- Location: A bunk in the back
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: Baidu [Spider], Bing [Bot], Google Feedfetcher and 3 guests