folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
changing exif date info to 12-hour(back to index)
I've been doing alot of reading around on the PHP.net site for working with date/time info, but I still don't understand.

I'd like the exif date to be displayed as a 12-hour time instead of 24-hour. (with "am, pm" on there too)

here's the code that's in fb_exif.php which deals with displaying the date.

"<#fbtaken#>" => isset($data["DateTimeOriginal"]) ? str_replace(":","-",substr($data["DateTimeOriginal"],0,10)) . substr($data["DateTimeOriginal"],10) : "");

Could someone show me how to modify it, or do it for me? :)
posted by kenny on 28 Apr 06 at 10:12 AM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)