on 2015 Aug 11 11:51 AM
Hi All,
I created a table with XML view.
This is how i have binded.
<items>
<ColumnListItem>
<cells>
<Text
text="{empModel>Empno}" />
<Text
text="{empModel>Fname}" />
<Text
text="{empModel>Lname}" />
<Text
text="{empModel>Addrs}" />
<Text
text="{empModel>Desgn}" />
<Text
text="{empModel>Dob}" />
</cells>
</ColumnListItem>
</items>
But my date format which is coming from gateway is in this format "2015-05-05T05:13:19.3167890".
I want to display it as 05-05-2015.
I also have a datepicker and in that datepicker date format is not selected in this format. So basically how i can perform the POST operations?
I am a beginner so if possible attach a simple code for reference.
Thanks in advance.
Request clarification before answering.
Solution provided by Raman is working but i am wondering that whu solution of
is not working in my case. Where might be error?
And one more question.
Suppose i am selecting date from calendar then how i will convert this date for Gateway post?
If i will follow the Raman code then in pattern i will define like this?? pattern: "yyyy-MM-ddTHH:mm:ss.AAAAAAA"??
Same code will be applicable for javascript view also?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.