Here lives the documentation for the WebPython date utilities.

ConvertMonth(month, ctype)

Converts between month formats, valid formats being an integer from 1 to 12, a short month name (e.g., Jan, Feb, Mar...), or a long month name. month is a representation of a month. ctype is an optional argument specifying the conversion type; it has a value of either 'long' or 'short', the default value being 'long'.

If month is a string value, then a numeric representation is returned; conversely, if it is a numeric value, than a string representation is returned, its form varying according to ctype.

ConvertDateString(date_string, format)

Converts a given date represented by a string (date_string) to the format specified by format. format can be any one of the following format strings: