Tag Archives: python

Date formatting in Python – use strftime, like Oracle's to_char

time — Time access and conversions — Python v2.6.1 documentation time.strftime(format[, t])¶ Convert a tuple or struct_time representing a time as returned by gmtime() or localtime() to a string as specified by the format argument. If t is not provided, the current time as returned by localtime() is used. format must be a string. ValueError [...]

Posted in work, wow | Also tagged , | Leave a comment