use POSIX 'strftime'; print strftime("Standard Time is %r.\n", gmtime);