[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[JDEV] date, encoding
In reply to your message from the not too distant future: next Thursday AD
Reply-to: belg4mit@mit.edu
Return-receipt-to: belg4mit@mit.edu
Organization: a) Discordia b) none c) what's that?
Content-Typo: gibberish, charset=ascii-art
Date: Thu, 29 Jul 1999 21:37:27 EDT
From: belg4mit
yes, my propoasal for date would have been easiest for regexp
(.*)(..)(..)
$year = $1; $month = $2; $day = $3;
Using dashes would work too...
($year, $month, $day) = split("-", "yyyyy?-mm-dd");
and you can still allow for any-length year.
Dave beat me to the punch on the encoding. pass encoding (I still think it'd
work better as a tag rather than an attribute?). And then leave it up to the
client as to whether or not it cares about/can handle it. As long it gets
passed along in an 8-bit format, right?
--
Please take the time to answer the simple survey at:
http://www.pthbb.org/cgi.bin/survey/
* __ * .
\ | / . . . . . ((_
_____ . . .
-- / \ -- . . . + . . _/\
oooooooooo. | * . . . * / ;M\_ .
.oooooooooooo.oo. . . . . /\ . / :IMM\
..oooooooooooo..oo. Jerrad Pierce /\ / \ / ;IIWMM
..oooooooooo....... 209 North Street + / \ / \ . / ;IIIIWM
...ooooooooo....... Randolph, MA 02368 / \ \ ___/ :;IIIIIWM
....ooo....o....... / \ \ / :: ;;IIIMI
.....ooo......... http://www.pthbb.org / \ \ : :::;IIIM
..ooooooo.... __________________________ || || ::.....::::::
MOTD on Setting Orange, the 64th of Confusion, in the YOLD 3165:
The state of having nothing to do is wasted on those who can afford to.