General utility functions

Time-pace conversions

time_from_timestring(timestring)

Convert TCX- or GPX-formatted time string into a datetime object.

timestring_from_time(time)

Convert datetime into a TCX- or GPX-formatted timestamp.