Mercurial > hg > mpdl-group
view software/eXist/webapp/mpdl/util/time.xql @ 25:e9fe3186670c default tip
letzter Stand eingecheckt
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 21 May 2013 10:19:32 +0200 |
parents | 5589d865af7a |
children |
line wrap: on
line source
xquery version "1.0"; module namespace mpdl-time = "http://www.mpiwg-berlin.mpg.de/ns/mpdl/util/time"; declare function mpdl-time:duration-as-ms($t) { round((minutes-from-duration($t) * 60 + seconds-from-duration($t)) * 1000 ) };