Next: , Previous: , Up: Common Scheme Functions   [Contents][Index]


3.5.66 time-string->number - duration string to seconds

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