Date/Time format
Asked by
Nate Walker
Can I propose using this:
153 from time import strftime
154 report_str += str(strftime("%a, %d %b %Y %H:%M")) + "\n"
Instead of:
153 report_str += time.ctime() + "\n"
To allow for a nicer date format (I mean, who really needs to know about seconds?)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Raúl González Duque
- Solved:
- Last query:
- Last reply:
To post a message you must log in.