How to convert dd-mmm-yyyy (01-Jan-2009) to dd/mm/yy (01/01/09) using python functions.
rmsagar 0 Newbie Poster
Recommended Answers
Jump to PostCan you at least show us what you have tried?
Hint, module time is your friend. Use time.strptime(time_str, format_str) and then time.strftime(format_str, time_tuple).
All 4 Replies
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
rmsagar 0 Newbie Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.