Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Test::Reporter::Date::Format 1.27

    Download button

    No screenshots available
    Downloads: 336  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Graham Barr | More programs
    Perl Artistic License / FREE
    July 25th, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Test::Reporter::Date::Format description

    Test::Reporter::Date::Format Perl module contains date formating subroutines.

    Test::Reporter::Date::Format Perl module contains date formating subroutines.

    SYNOPSIS

    use Test::Reporter::Date::Format;

    @lt = localtime(time);

    print time2str($template, time);
    print strftime($template, @lt);

    print time2str($template, time, $zone);
    print strftime($template, @lt, $zone);

    print ctime(time);
    print asctime(@lt);

    print ctime(time, $zone);
    print asctime(@lt, $zone);

    This module provides routines to format dates into ASCII strings. They correspond to the C library routines strftime and ctime.

    time2str(TEMPLATE, TIME [, ZONE])

    time2str converts TIME into an ASCII string using the conversion specification given in TEMPLATE. ZONE if given specifies the zone which the output is required to be in, ZONE defaults to your current zone.

    strftime(TEMPLATE, TIME [, ZONE])

    strftime is similar to time2str with the exception that the time is passed as an array, such as the array returned by localtime.

    ctime(TIME [, ZONE])

    ctime calls time2str with the given arguments using the conversion specification "%a %b %e %T %Yn"

    asctime(TIME [, ZONE])

    asctime calls time2str with the given arguments using the conversion specification "%a %b %e %T %Yn"

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    date formating | Perl subroutines | Perl module | Test::Reporter::Date | date | formating

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM