Re: POSIX 'strftime' issue

2002-06-21 Thread fliptop
David Gilden wrote: > > print OUT strftime('%A, %B %ld, %Y %I:%M %p',localtime) ,"\n"; > > But look here, > > > > what is going wrong? (see the date string) hrm - dunno. i use date::calc myself for date manipulation. maybe someone else

Re: POSIX 'strftime' issue

2002-06-21 Thread David Gilden
> have you tried reading the documentation for posix? > > from the docs: > > If you want your code to be portable, your format (fmt) argument should > use only the conversion specifiers defined by the ANSI C standard. These > are aAbBcdHIjmMpSUwWxXyYZ%. > > i don't see 'D' in that list. and

Re: POSIX 'strftime' issue

2002-06-21 Thread fliptop
David Gilden wrote: > I have small problem here, check out the following: > > #!/usr/bin/perl > > use CGI qw/:standard/; > use CGI::Carp qw(fatalsToBrowser); > use POSIX 'strftime'; > > # This works fine on Earthlink's servers using: > > print OUT strftime('%A, %B %1d, %Y %I:%M %p',localtime

POSIX 'strftime' issue

2002-06-20 Thread David Gilden
Good afternoon, I have small problem here, check out the following: #!/usr/bin/perl use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser); use POSIX 'strftime'; # This works fine on Earthlink's servers using: print OUT strftime('%A, %B %1d, %Y %I:%M %p',localtime) ,"\n"; #returns: Wednes