Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Date Formatting

$
0
0

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.


Viewing all articles
Browse latest Browse all 3523

Trending Articles