|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Issue in setting Current dateTime |
« View previous topic :: View next topic » |
Author |
Message
|
datspats |
Posted: Mon Jun 07, 2010 10:14 pm Post subject: Issue in setting Current dateTime |
|
|
Voyager
Joined: 12 Apr 2007 Posts: 80 Location: Mumbai
|
Hi,
We are getting error in setting Current dateTime value in the field.
In the mediation flow, XSL transformation, I am using Format date as the setter function, and in Properties box, I am selecting
"Current Date and Time" option and Pattern "yyyy-MM-dd hh:mm:ss".
But during execution we are getting error as
Caused by: org.eclipse.emf.ecore.xml.type.InvalidDatatypeValueException: Year separator is missing or misplaced.
Caused by: org.eclipse.emf.ecore.xmi.IllegalValueException: Value '2010-06-08 11:33:38' is not legal.
Is this issue with the Format, If yes, what is the right pattern need to set for current dateTime. |
|
Back to top |
|
 |
datspats |
Posted: Wed Jun 09, 2010 2:17 am Post subject: |
|
|
Voyager
Joined: 12 Apr 2007 Posts: 80 Location: Mumbai
|
To note, We are using WID 7.0.0.2 |
|
Back to top |
|
 |
datspats |
Posted: Mon Jun 14, 2010 1:11 am Post subject: |
|
|
Voyager
Joined: 12 Apr 2007 Posts: 80 Location: Mumbai
|
I have also used the following in the Custom XSLT
and it still gives the error.
ExsltDatetime:formatDate(ExsltDatetime:dateTime(),'yyyy-MM-dd HH:mm:ss') |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|