2017-08-27

(sph time string)

time string conversions.

part of sph-lib

library description

ymd: iso8601 date, yyyy-mm-dd

hms: hh:mm:ss

import name

(sph time string)

exports

military-time->hm

procedure

signature

a ->

-> (hours . minutes)

s->hms-string

procedure

signature

a [drop] ->

s->ks-string

procedure

signature

a ->

seconds-from-hms

procedure

signature

a ->

string -> integer

description

converts a string time representation of hours:minutes:seconds,

where minutes and seconds are optional, to seconds

sph-time-string-description

variable

utc->ymd

procedure

signature

a ->

integer -> string

utc->ymd-hms

procedure

signature

a ->

utc->ymd-ks

procedure

signature

a ->

utc->ymd-s

procedure

signature

a ->

utc-current-ymd

procedure

signature

->

utc-current-ymd-ks

procedure

signature

->

utc-current-ymd-s

procedure

signature

->

utc-elapsed-day-string

procedure

signature

a [scale decimal-min] ->

utc-from-ymd

procedure

signature

a ->

ymd-daytime-delimiter

variable

tags: programming guile documentation library scheme sph-lib computer time string