ID: 8776 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related Description: strftime("%V") I have tried all possible formatting characters ... echo "%a: ".strftime("%a")."\n"; echo "%A: ".strftime("%A")."\n"; echo "%b: ".strftime("%b")."\n"; echo "%B: ".strftime("%B")."\n"; echo "%c: ".strftime("%c")."\n"; echo "%C: ".strftime("%C")."\n"; echo "%d: ".strftime("%d")."\n"; echo "%D: ".strftime("%D")."\n"; echo "%e: ".strftime("%e")."\n"; echo "%h: ".strftime("%h")."\n"; echo "%H: ".strftime("%H")."\n"; echo "%I: ".strftime("%I")."\n"; echo "%j: ".strftime("%j")."\n"; echo "%m: ".strftime("%m")."\n"; echo "%M: ".strftime("%M")."\n"; echo "%n: ".strftime("%n")."\n"; echo "%p: ".strftime("%p")."\n"; echo "%r: ".strftime("%r")."\n"; echo "%R: ".strftime("%R")."\n"; echo "%S: ".strftime("%S")."\n"; echo "%t: ".strftime("%t")."\n"; echo "%T: ".strftime("%T")."\n"; echo "%u: ".strftime("%u")."\n"; echo "%U: ".strftime("%U")."\n"; echo "%V: ".strftime("%V")."\n"; echo "%W: ".strftime("%W")."\n"; echo "%w: ".strftime("%w")."\n"; echo "%x: ".strftime("%x")."\n"; echo "%X: ".strftime("%X")."\n"; echo "%y: ".strftime("%y")."\n"; echo "%Y: ".strftime("%Y")."\n"; echo "%Z: ".strftime("%Z")."\n"; ... and the result is ... %a: Fri %A: Friday %b: Jan %B: January %c: 01/19/01 08:38:12 %C: %d: 19 %D: %e: %h: %H: 08 %I: 08 %j: 019 %m: 01 %M: 38 %n: %p: AM %r: %R: %S: 12 %t: %T: %u: %U: 02 %V: %W: 03 %w: 5 %x: 01/19/01 %X: 08:38:12 %y: 01 %Y: 2001 %Z: Střední Evropa (běžný čas) I also updated OS information. I have Win98 SE (sorry for that). I have PHP running on Apache 1.3.14 as an Apache modul. I hope it will help. Previous Comments: --------------------------------------------------------------------------- [2001-01-18 06:55:24] [EMAIL PROTECTED] I don't know the relation of the function to OS. But when I use this code: echo "%V: ".strftime("%V")."<br>n"; echo "%U: ".strftime("%U")."<br>n"; echo "%W: ".strftime("%W")."<br>n"; ... the HTML result is: %V: %U: 02 %W: 03 ... so only %V does not work. --------------------------------------------------------------------------- [2001-01-18 06:16:41] [EMAIL PROTECTED] This works for me in Linux just fine. (latest CVS) Maybe this is yet another 'Windows only' bug? --Jani --------------------------------------------------------------------------- [2001-01-18 03:35:23] [EMAIL PROTECTED] Function strftime("%V") does not return any value. Should return ISO number of week. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8776 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]