XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Jon GallegosSubject: Formating a date in xquery
Author: Jon Gallegos
Date: 12 Feb 2011 08:37 AM
In an xquery map, how can i convert a date in timestamp format ( 2011-01-28T23:05:29.997 ) to a regular date format ( 2011-01-28 )?


Ivan PedruzziSubject: Formating a date in xquery
Author: Ivan Pedruzzi
Date: 06 Mar 2011 06:02 PM

If you are running Stylus Studio 2010 or greater have a look at ddtek:format-date, it is well documented in the DataDirect XQuery
user's guide

Hope this helps

Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.