Main > Free Download Search >

Free time2str software for linux

time2str

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1
Test::Reporter::Date::Format 1.27

Test::Reporter::Date::Format 1.27


Test::Reporter::Date::Format Perl module contains date formating subroutines. more>>
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"

<<less
Download (0.023MB)
Added: 2007-07-24 License: Perl Artistic License Price:
822 downloads

time2str related searches

: ,
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1