Search code examples
xmlxpathxpath-1.0

XPath1.0: Convert UTC Seconds to datetime format string


Is there a way of converting UTC seconds to a String with this format: dd/mm/yyyy hh:mm:ss?


Solution

  • Not natively in XPath 1.0, you'd need to use an appropriate extension function. How (indeed whether) you can do this depends what library/language/tool you're using to evaluate the XPath expressions.