Subject:generate the date time in xslt (mapper mode) Author:carl milton Date:12 Nov 2007 10:52 AM
hello,
i have an element date in my target document as follows:
<date>2006-10-26 15:31:51</date>
i want to generate the date time automatically everytime i map another source document because not all of my source documents have the correct date or format and this is creating me problems. i want the format to be like this:
<date>yyyy-mm-dd hh:mm:ss</date>
i have seen a few site that suggest calling a java file but is there an easier way that this can be done in stylus studio?