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

RFC 822

Subject: RFC 822
From: Alan Gutierrez <alan-xsl-list@xxxxxxxxx>
Date: Fri, 23 Sep 2005 06:02:59 -0400
what is rfc
This is my RFC 822 format picture. 

<xsl:variable
    name="gmt"
    select="adjust-dateTime-to-timezone(
        $dateTime, xdt:dayTimeDuration('PT0H'))"/>

<xsl:value-of select="format-dateTime($gmt,
    '[FNn,*-3], [D01] [MNn,*-3] [Y0001] [H01]:[m01]:[s01] GMT',
    'en', (), 'US')"/>

For dateTime...

2005-09-21T02:47:00Z

This emits...

Wed, 21 Sep 2005 02:47:00 GMT

I've tried a number of varitions on the time zone, [z] [Z] and [ZN,*-3].

Those pictures translate to "Z" when I expect GMT or UTC.

I'm pretty sure I'm doing something terribly wrong and I don't want
to lose my timestamps.

Where's my error?

(Sorry, for asking so many questions at once. I've kinda been
    storing them up. I'm doing a clean up.)

--
Alan Gutierrez - alan@xxxxxxxxx
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

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.