python time readable string code example Example: display current local time in readable format import time time.strftime('%X %x %Z') '16:08:12 05/08/03 AEST'