ZenphotoCMS Forum
printAlbumDate - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: printAlbumDate (/thread-5751.html)



printAlbumDate - flugga - 2009-08-26

How do I use the format property of the printAlbumDate function? For example, currently the date shows as: Tue 09 Sep 2008 05:42:17 AM EDT. I want it to show as just: Tue 09 Sep 2008




printAlbumDate - sbillard - 2009-08-26

Follow the link given on the Date Format option.




printAlbumDate - edified - 2009-10-17

More specifically printAlbumDate() uses getAlbumDate() which uses zpFormattedDate() which uses the php function strftime()

So [b]use the formatting specified on this page: http://php.net/manual/en/function.strftime.php [/b]

In your example it's printAlbumDate("","","%a %d %b %G")

printAlbumDate DOES NOT uses the php date() function that you're probably familiar with which is why "D d M Y" won't work.




printAlbumDate - sbillard - 2009-10-17

You can also just change the Zenphoto date option. This will change all places dates are output, not just the album date.