If your number is in nanoseconds rather than seconds, then divide it by 10^9 first. However, limits on range and precision for durations depend on the processor you are using.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|