|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Dates and XSL
What's the best way to deal with dates? When my dates come out of the database they look like: 1999-10-29 13:00:00.0. When displaying this date I want to either show October or pick October from a dropdown menu so this means I have to break apart the date. I also need to reorder it depending on the display format. Should I break it apart at XML generation time into <year>1999</year><month>10</month>, etc? or would it be better to pick it apart with the XSL substring function? It's clear to me that XSL should have date support built in. I'm not happy with any of the solutions I've come up with, does anyone have any better ideas? Jon Smirl jonsmirl@xxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








