I havn't looked at your patch yet, but does this differ in any way from strftime('%G') ?
-Sara "Bányai Zsolt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php