new format character in date function
| From: | Bányai Zsolt | Date: | Tue, 23 Dec 2003 13:42:27 +0000 |
| Subject: | new format character in date function | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-6702@lists.php.net to get a copy of this message | ||
Hi,
I usually have to work with dates and i miss a date format character
wich returns year of the week. I'm not a C developer, i could just play
with it in datetime.c, but i send the patch file, please check this and
if you are interest in it, use in the future.
About the working:
in case 01/01/2003 returns 2003
in case 31/12/2003 returns 2004
the format character is X.
thanks
zsolt banyai [bazso]
kirowski rt.
hungary
Attachment: [text/x-patch] datetime.c.diff
Attachment: [text/x-patch] datetime.c.diff