|
Subject: Re: Formatting a date From: "Christopher R. Maden" <crism@xxxxxxxxxx> Date: Fri, 11 Aug 2000 17:22:03 -0700 |
A little efficiency question for you.
I have a date which is in the form of "CCYYMMDD.HHMMSS" and I'm
formatting this date to look like this: "MM/DD/YYYY HH:MM:SS GMT". I have
my own way of doing this but I suspect that there is a better way. Can
anyone tell me if there is? I tried format-number() originally but it
choked on the ":". What I'm doing now works but isn't very pretty. Code
below.
-Chris -- Christopher R. Maden, Senior XML Analyst, Lexica LLC 222 Kearny St., Ste. 202, San Francisco, CA 94108-4510 +1.415.901.3631 tel./+1.415.477.3619 fax <URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Formatting a date, Heather Lindsay | Thread | Re: Formatting a date, Christopher R. Maden |
| Re: Special characters and XML-to-W, Mike Brown | Date | Re: Formatting a date, Christopher R. Maden |
| Month |