[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Q on ISO TimeDate convertion

Subject: RE: Q on ISO TimeDate convertion
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Thu, 8 Nov 2001 09:23:16 +0100
converting julian to iso
Really?

That would convert 12:30 to 0:30PM, right?

[How about a discussion why the U.S. is so far behing Europe in using
standard units / formats? :-)]

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Mark
> Nahabedian
> Sent: Thursday, November 08, 2001 5:00 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Q on ISO TimeDate convertion
>
>
> Walter Torres writes:
>  > I have an XSLT Template that converts the ISO TimeDate format
> to an American
>  > Standard display.
>  >
>  >     2001-10-18T12:27:46
>  >
>  >     10/18/2001 12:27:46
>  >
>  > My problem is that I really don't know how to convert the Time
> part to an
>  > AM/PM format, not just the 24 hour clock it is now.
>
> If the hour is less than twelve, append AM after the time.  If the
> hour is greater than or equal to twelve, print the hour minus twelve
> as the hour and append PM to the time.
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.