Next: version-compare - compare two version numbers, Previous: sum - sum of values in list, Up: Common Scheme Functions [Contents][Index]
Usage: (time-string->number time_spec)
Convert the argument string to a time period in seconds.
The string may use multiple parts consisting of days, hours
minutes and seconds. These are indicated with a suffix of
d
, h
, m
and s
respectively.
Hours, minutes and seconds may also be represented with
HH:MM:SS
or, without hours, as MM:SS
.
Arguments:
time_spec - string to parse