[Omaha.pm] Strftime between Linux/Unix and Windows differences.

Jay Hannah jhannah at mutationgrid.com
Mon Dec 13 10:01:27 PST 2010


On Dec 13, 2010, at 8:58 AM, Dan Linder wrote:
> On my Linux system:
> $ perl ./d0039.pl
> Monday, January 31 2011 at  8:00AM
> Mon Jan 31 08:00:00 2011
> 
> But when run from my Windows box (Win 7, 64bit) using ActiveState:
> C:\temp>perl d0039.pl
> %A, %B %e %Y at %l:%M%p
> Mon Jan 31 08:00:00 2011

Curious. I don't use Windows so don't have any insights into this. Have you tried using DateTime instead of POSIX? (Or Strawberry Perl instead of ActiveState?) I don't know how POSIX friendly Windows is/isn't.

$0.02,

Jay Hannah
Software Architect
jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782







More information about the Omaha-pm mailing list