|
|
Rank: Newbie
Joined: 11/16/2009 Posts: 1
|
I am new to the XML stylesheets and I need some assistance getting a date formatted. I am trying to convert a date that comes across as this: 2008-01-15T00:00:00Z
If anyone has some specific instructions on getting this just to show that date, preferably in m/d/yyyy format, if not, then just the date would be wonderful. Thanks so much!
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
First, you need to clarify whether you are working on your stylesheets with StyleVision (because you've posted your question in StyleVision forum) or writing your stylesheets by hand. The solution depends on your answer.
|
|
Rank: Newbie
Joined: 2/19/2010 Posts: 1 Location: Minneapolis
|
I am having the same problem formatting dates and dateTimes in StyleVision. I don't want to have to manually edit the XSLT. I start with a date in this format:
2009-11-23T13:04:25.300-06:00
Please advise.
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
In StyleVision everything is easy - you need to use Input Formatting feature documented here.
I'd also suggest to look at the "input formatting.sps" sample file delivered with StyleVision.
|
|
|
guest |