Zope Python Script US formatted date time

Prints a datetime object in US format mm-dd-yyyy hh:mm am/pm
<tal:printDate content="DateTime(item.created()).strftime('%m-%d-%Y %I:%M %p')" />
01-01-2013 4:30 PM
Posted by
Snippet Viewed 7185 times.

Share your Zope Python Script code snippets:

  • Get some recognition & link back to your site.

 

Submit | Browse

Most Recent zope python snippets

Most Viewed