#!/usr/bin/perl -w use strict; use CGI; use Time::Format; my $last_login = 1231357784; my $c = new CGI; print $c->header; #my $a = Time::Format::time_format( 'mm/dd/yy hh:mm', $last_login ); # time format string i see working fine my $a = Time::Format::time_format( 'Weekday Month dth yyyy, h:mm', $last_login ); # time format string that crashes print "last login $a";