/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
print today.strftime('We are the %d, %b %Y') 'We are the 22, Nov 2008' Eg in Django: >>> k.updated_at.strftime('Last updated on %d, %b %Y, %H:%m') 'Last updated on 14, May 2013, 15:05'