Using a common and standard convention for representing dates helps
significantly when manipulating date fields.
The standard format is
CCYY-MM-DDTHH:MM:SS+Z
Example:
2004-10-01T18:23:17+00:00
With this representation it's easier and manageable to sort date fields because
it's a sortable value unlike a date represented in say MM/DD/YYYY format.
While displaying dates the XPath2.0 format-date function can be used to display
the date in a particular locale.
There might be other benefits like add and subtract dates, but I haven't
refered these functions.
----- Original Message ----
From: Kamal Bhatt kbhatt(_at_)tt(_dot_)com(_dot_)au
Any other tips?
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--