Re: new format character in date function
| From: | Banyai Zsolt | Date: | Mon, 29 Dec 2003 09:21:16 +0000 |
| Subject: | Re: new format character in date function | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6722@lists.php.net to get a copy of this message | ||
The funcionality is the same. But i think it could have place in the date() function... or no? :)
Sara Golemon wrote:
I havn't looked at your patch yet, but does this differ in any way from strftime('%G') ? -Sara "Bányai Zsolt" <zsolt.banyai@kirowski.com> wrote in message news:1072186947.3443.13.camel@bazso...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