Mike's Script Archive : NiceDate.pm
NiceDate -- Print a date in human-readible format
NAME
NiceDate -- Print a date in human-readible format
NiceDate.pm
SYNOPSIS
use NiceDate;
print NiceDate::nicedate(), "\n";
print NiceDate::nicedate(time() + 1000), "\n";
NiceDate
implements a function nicedate()
which converts
a unix time value into the following human-readible format:
yyyy/mm/dd hh:mm:ss
If NiceDate::nicedate()
is called without parameters, it will
use the current time.
Copyright 2002 by Mike Schilli, all rights reserved.
This program is free software, you can redistribute it and/or
modify it under the same terms as Perl itself.
2002, Mike Schilli <m@perlmeister.com >