times (module)

Some time functions to be used with logging etc

Author

David Young

Classes

str([object])

str(bytes_or_buffer[, encoding[, errors]]) -> str

Functions

calculate_time_difference(startDate, endDate)

Return the time difference between two dates as a string

datetime_relative_to_now(date)

*convert date to a relative datetime (e.g.

get_now_sql_datetime()

A datetime stamp in MySQL format: ‘YYYY-MM-DDTHH:MM:SS’