Mike Schilli's Friendly Neighborhood Perl Shop

Home
USArundbrief.com
Resume
CPAN Modules
Articles in English
Articles in German
Mike's Script Archive
English-Japanese Translation Trainer
Adventures with O'Reilly's Safari
10 Easy Steps to Become a California Driver
Unofficial perlmonks.com IRC Channel
My Collection of Outage Pages
Prisma (Computer Club Deutschland)
Mike's Monologues
Mike's Script Archive: NiceDate.pm

NiceDate -- Print a date in human-readible format


NAME

    NiceDate -- Print a date in human-readible format


DOWNLOAD

NiceDate.pm


SYNOPSIS

    use NiceDate;
    print NiceDate::nicedate(), "\n";
    print NiceDate::nicedate(time() + 1000), "\n";


DESCRIPTION

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.


LEGALESE

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.


AUTHOR

2002, Mike Schilli <m@perlmeister.com>


Latest update: 20-Oct-2013