Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve date without time...

Status
Not open for further replies.

unstable

Programmer
Oct 21, 2004
1
DE
yo,

well, i cant find an xslt thread, so i will post it here...
i have this in an xml file:
<origination_dttm V="2004-10-21T13:52:06"/>
with xsl i want to show the date, but without the time, so
2004-10-21
and show it the right way:
12-10-2004
i have no idea how to get rid of the time, and how to show the date the right way.

some1 an idea?
 
Use substring functions to extract the date parts into variables, then rearrange them with a concat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top