expiration dates
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 905
DNS Domain Expiration Check 1.0
domain-check is a utility for checking DNS domain expiration dates. more>>
DNS Domain Expiration Check is a utility for checking DNS domain expiration dates.
domain-check queries WHOIS data in realtime, and can be integrated with cron to provide e-mail notifications prior to a domain expiring.
The first example will print the expiration date and registrar for daemons.net:
$ domain-check.sh -d daemons.net
Domain Registrar Status Expires Days Left
----------------------------------- ----------------- -------- ----------- ---------
daemons.net INTERCOSMOS MEDIA Valid 13-feb-2006 64
The second example prints the expiration date and registrar for the domains listed in the file "domains":
$ domain-check.sh -f domains
Domain Registrar Status Expires Days Left
----------------------------------- ----------------- -------- ----------- ---------
sun.com NETWORK SOLUTIONS Valid 20-mar-2010 1560
google.com EMARKMONITOR INC. Valid 14-sep-2011 2103
daemons.net INTERCOSMOS MEDIA Valid 13-feb-2006 64
spotch.com GANDI Valid 03-dec-2006 357
The third example will e-mail the address admin@daemons.net with the domains that will expire in 60-days or less:
$ domain-check -a -f domains -q -x 60 -e admin@daemons.net
<<lessdomain-check queries WHOIS data in realtime, and can be integrated with cron to provide e-mail notifications prior to a domain expiring.
The first example will print the expiration date and registrar for daemons.net:
$ domain-check.sh -d daemons.net
Domain Registrar Status Expires Days Left
----------------------------------- ----------------- -------- ----------- ---------
daemons.net INTERCOSMOS MEDIA Valid 13-feb-2006 64
The second example prints the expiration date and registrar for the domains listed in the file "domains":
$ domain-check.sh -f domains
Domain Registrar Status Expires Days Left
----------------------------------- ----------------- -------- ----------- ---------
sun.com NETWORK SOLUTIONS Valid 20-mar-2010 1560
google.com EMARKMONITOR INC. Valid 14-sep-2011 2103
daemons.net INTERCOSMOS MEDIA Valid 13-feb-2006 64
spotch.com GANDI Valid 03-dec-2006 357
The third example will e-mail the address admin@daemons.net with the domains that will expire in 60-days or less:
$ domain-check -a -f domains -q -x 60 -e admin@daemons.net
Download (MB)
Added: 2005-12-13 License: GPL (GNU General Public License) Price:
810 downloads
K5expire 2.1
K5expire is a tool to complement a Kerberos/LDAP server combination. more>>
K5expire is a tool to complement a Kerberos/LDAP server combination.
It checks all kerberos principals per user in LDAP for password and/or account expiration and sends E-mails to the owner if they will expire in a preconfigured amount of time.
It started as a hack to emulate the behavior of expiration found in pam_unix and Windows, but I believe this method to be less intrusive because it does not delay the login process.
Enhancements:
- Support for XMLSensor output was added.
<<lessIt checks all kerberos principals per user in LDAP for password and/or account expiration and sends E-mails to the owner if they will expire in a preconfigured amount of time.
It started as a hack to emulate the behavior of expiration found in pam_unix and Windows, but I believe this method to be less intrusive because it does not delay the login process.
Enhancements:
- Support for XMLSensor output was added.
Download (0.005MB)
Added: 2007-07-05 License: GPL (GNU General Public License) Price:
841 downloads
Fast Date Picker 0.02
Fast Date Picker is a calendar that is easy to integrate into Web pages that require the users to select a date. more>>
Fast Date Picker project is a calendar which is easy to integrate into pages that require the users to select a date like on travel sites.
Written in ECMAScript, it responds faster to the users clicks than most of the server-side-based or Java-applet-based date pickers often found on travel sites today.
The calendar can be added to your page any way you want (e.g. as a pop-up window or an expandable
<<lessWritten in ECMAScript, it responds faster to the users clicks than most of the server-side-based or Java-applet-based date pickers often found on travel sites today.
The calendar can be added to your page any way you want (e.g. as a pop-up window or an expandable
), and you can integrate it with any type of form fields for selecting dates.
In order to perform the integration, you do, however, need experience with ECMAScript - so if new Date() means nothing to you, Fast Date Picker probably isnt what youre looking for.
Main features:
- Allows you to set whether Sunday or Monday is the first day of the week.
- Can highligt certain days of the week (of your choice), e.g. Saturday and Sunday.
- Can highlight the current date.
- Can make dates up until a certain point (e.g. today) non-selectable so that users cannot select a date in the past.
- Easy to translate.
- Easy to change to fit the design of your website: Just edit the included style sheet.
- Made in a way that minimizes the risk of variable name clashes in ECMAScript and selector clashes in CSS.
- Uses standard ECMAScript, DOM, and CSS.
Enhancements:
- The problem with incorrect dates in calendars set to start weeks with Monday was fixed.
In order to perform the integration, you do, however, need experience with ECMAScript - so if new Date() means nothing to you, Fast Date Picker probably isnt what youre looking for.
Main features:
- Allows you to set whether Sunday or Monday is the first day of the week.
- Can highligt certain days of the week (of your choice), e.g. Saturday and Sunday.
- Can highlight the current date.
- Can make dates up until a certain point (e.g. today) non-selectable so that users cannot select a date in the past.
- Easy to translate.
- Easy to change to fit the design of your website: Just edit the included style sheet.
- Made in a way that minimizes the risk of variable name clashes in ECMAScript and selector clashes in CSS.
- Uses standard ECMAScript, DOM, and CSS.
Enhancements:
- The problem with incorrect dates in calendars set to start weeks with Monday was fixed.
Download (0.004MB)
Added: 2006-01-10 License: GPL (GNU General Public License) Price:
1390 downloads
Dates 0.4.1
Dates project is a small, light-weight calendar that shares data with GNOME Evolution. more>>
Dates project is a small, light-weight calendar that shares data with GNOME Evolution.
Dates is a small, light-weight calendar that shares data with GNOME Evolution. Dates features an innovative, unified, zooming view and is designed for use on hand-held devices, such as the Nokia 770 or the Sharp Zaurus series of PDAs.
<<lessDates is a small, light-weight calendar that shares data with GNOME Evolution. Dates features an innovative, unified, zooming view and is designed for use on hand-held devices, such as the Nokia 770 or the Sharp Zaurus series of PDAs.
Download (0.43MB)
Added: 2007-04-14 License: GPL (GNU General Public License) Price:
924 downloads
Kalendae 1.6
Kalendae project is a tool to convert dates into Latin, using ancient Romes calendar. more>>
Kalendae project is a tool to convert dates between the modern western calendar (entered using a localized GUI) and the ancient Roman one expressed in Latin.
Leap years are taken into account starting from 10 B.C.
<<lessLeap years are taken into account starting from 10 B.C.
Download (0.026MB)
Added: 2006-10-16 License: GPL (GNU General Public License) Price:
1104 downloads
Tk::Date 0.42
Tk::Date is a date/time widget for perl/Tk. more>>
Tk::Date is a date/time widget for perl/Tk.
SYNOPSIS
use Tk::Date;
$date_widget = $top->Date->pack;
$date_widget->get("%x %X");
Tk::Date implements a date/time widget. There are three ways to input a date:
Using the keyboard to input the digits and the tab key or the mouse pointer to move focus between fields.
Using up and down cursor keys to increment/decrement the date (only with installed Tk::NumEntryPlain widget).
Selecting up and down arrow buttons will increment or decrement the value of the active field (only with installed Tk::FireButton widget).
The Date/Time Format
Unlike Java, Perl does not have a date/time object. However, it is possible to use the unix time (seconds since epoch, that is 1st January 1970) as a replacement. This is limited, since on most architectures, the valid range is between 14th December 1901 and 19th January 2038. For other dates, it is possible to use a hash notation:
{ y => year,
m => month,
d => day,
H => hour,
M => minute,
S => second }
The abbreviations are derivated from the format letters of strftime. Note that year is the full year (1998 instead of 98) and month is the real month number, as opposed to the output of localtime(), where the month is subtracted by one.
In this document, the first method will be referred as unixtime and the second method as datehash.
STANDARD OPTIONS
Tk::Date descends from Frame and inherits all of its options.
-orient
Specified orientation of the increment and decrements buttons. May be vertical (default) or horizontal.
<<lessSYNOPSIS
use Tk::Date;
$date_widget = $top->Date->pack;
$date_widget->get("%x %X");
Tk::Date implements a date/time widget. There are three ways to input a date:
Using the keyboard to input the digits and the tab key or the mouse pointer to move focus between fields.
Using up and down cursor keys to increment/decrement the date (only with installed Tk::NumEntryPlain widget).
Selecting up and down arrow buttons will increment or decrement the value of the active field (only with installed Tk::FireButton widget).
The Date/Time Format
Unlike Java, Perl does not have a date/time object. However, it is possible to use the unix time (seconds since epoch, that is 1st January 1970) as a replacement. This is limited, since on most architectures, the valid range is between 14th December 1901 and 19th January 2038. For other dates, it is possible to use a hash notation:
{ y => year,
m => month,
d => day,
H => hour,
M => minute,
S => second }
The abbreviations are derivated from the format letters of strftime. Note that year is the full year (1998 instead of 98) and month is the real month number, as opposed to the output of localtime(), where the month is subtracted by one.
In this document, the first method will be referred as unixtime and the second method as datehash.
STANDARD OPTIONS
Tk::Date descends from Frame and inherits all of its options.
-orient
Specified orientation of the increment and decrements buttons. May be vertical (default) or horizontal.
Download (0.018MB)
Added: 2006-06-12 License: Perl Artistic License Price:
1230 downloads
LibHdate 1.4.9
LibHdate is a small C,C++ library for Hebrew calendar and dates, holidays, and reading sequence (parasha). more>>
LibHdate is a small C,C++ library for Hebrew calendar and dates, holidays, and reading sequence (parasha).
LibHdate is using the sorce code from Amos Shapirs hdate package fixed and patched by Nadav HarEl.
The Torah reading sequence is from tables by Zvi HarEl.
Installation:
From source:
Untar:
tar -xvzf libhdate-XXX.tar.gz
Configure:
cd libhdate-XXX
configure --prefix=/usr [--enable-examples --enable-python --enable-perl --enable-pascal]
--enable-examples - build and install examples
--enable-python - build and install the python bindings
--enable-perl - build and install the perl bindings
--enable-pascal - build and install the pascal bindings
You will need swig and perl/python devel files.
Build:
make
Install:
make install (as root)
<<lessLibHdate is using the sorce code from Amos Shapirs hdate package fixed and patched by Nadav HarEl.
The Torah reading sequence is from tables by Zvi HarEl.
Installation:
From source:
Untar:
tar -xvzf libhdate-XXX.tar.gz
Configure:
cd libhdate-XXX
configure --prefix=/usr [--enable-examples --enable-python --enable-perl --enable-pascal]
--enable-examples - build and install examples
--enable-python - build and install the python bindings
--enable-perl - build and install the perl bindings
--enable-pascal - build and install the pascal bindings
You will need swig and perl/python devel files.
Build:
make
Install:
make install (as root)
Download (0.43MB)
Added: 2007-04-07 License: GPL (GNU General Public License) Price:
930 downloads
Rose::DateTime 0.532
Rose::DateTime is a Perl module with DateTime helper functions and objects. more>>
Rose::DateTime is a Perl module with DateTime helper functions and objects.
SYNOPSIS
use Rose::DateTime::Util qw(:all);
$now = parse_date(now);
$then = parse_date(12/25/2001 6pm);
$date_text = format_date($then, "%D at %T %p");
...
use Rose::DateTime::Parser;
$parser = Rose::DateTime::Parser->new(time_zone => UTC);
$date = $parser->parse_date(12/25/1999);
The Rose::DateTime::* modules provide a few convenience functions and objects for use with DateTime dates.
Rose::DateTime::Util contains a simple date parser and a slightly customized date formatter.
Rose::DateTime::Parser encapsulates a date parser with an associated default time zone.
This module (Rose::DateTime) exists mostly to provide a version number for CPAN. See the individual modules for some actual documentation.
<<lessSYNOPSIS
use Rose::DateTime::Util qw(:all);
$now = parse_date(now);
$then = parse_date(12/25/2001 6pm);
$date_text = format_date($then, "%D at %T %p");
...
use Rose::DateTime::Parser;
$parser = Rose::DateTime::Parser->new(time_zone => UTC);
$date = $parser->parse_date(12/25/1999);
The Rose::DateTime::* modules provide a few convenience functions and objects for use with DateTime dates.
Rose::DateTime::Util contains a simple date parser and a slightly customized date formatter.
Rose::DateTime::Parser encapsulates a date parser with an associated default time zone.
This module (Rose::DateTime) exists mostly to provide a version number for CPAN. See the individual modules for some actual documentation.
Download (0.011MB)
Added: 2007-05-21 License: GPL (GNU General Public License) Price:
886 downloads
PHP Date Picker Class 1.0.5
PHP Date Picker Class will automatically generate the required HTML and JavaScript code. more>>
PHP Date Picker Class library will automatically generate the required HTML and JavaScript code that will make a pop-up window appear to let the user choose a date from a calendar. The selected date will be passed to a user-specified control from the calling page.
Every aspect is customizable by modifying a template and a related CSS file. The format in which the date is returned, the default date and time period, and the first day of the week can be selected.
Many thanks to Johan van Ieperen for sending in the dutch translation for the PHP class and for the valuable comments he made for improving usability, to Achim from Germany for finding the bug that would screw up the calendar on certain situations and also thank to Wassilios Meletiadis for sending in the german translation for this PHP class.
Further suggestions, comments and requests are welcommed. Id also really appreciate if you could send me links to the web pages where you are using the class so I can give them as refference and convince more people to use it. Thanks!
Enhancements:
- The selected date and time were not preserved if the month or year were changed.
- Using any date format other than the default would cause all dates to be disabled everywhere.
- A potential problem with selectableYearsRange and selectableTimesRange was fixed.
- The cause of the problem was the fact that PHPs date() function returns a string and therefore date("Y") would return the current date as a string rather than an integer, which made the calendar unusable.
<<lessEvery aspect is customizable by modifying a template and a related CSS file. The format in which the date is returned, the default date and time period, and the first day of the week can be selected.
Many thanks to Johan van Ieperen for sending in the dutch translation for the PHP class and for the valuable comments he made for improving usability, to Achim from Germany for finding the bug that would screw up the calendar on certain situations and also thank to Wassilios Meletiadis for sending in the german translation for this PHP class.
Further suggestions, comments and requests are welcommed. Id also really appreciate if you could send me links to the web pages where you are using the class so I can give them as refference and convince more people to use it. Thanks!
Enhancements:
- The selected date and time were not preserved if the month or year were changed.
- Using any date format other than the default would cause all dates to be disabled everywhere.
- A potential problem with selectableYearsRange and selectableTimesRange was fixed.
- The cause of the problem was the fact that PHPs date() function returns a string and therefore date("Y") would return the current date as a string rather than an integer, which made the calendar unusable.
Download (0.063MB)
Added: 2007-03-05 License: Free for non-commercial use Price:
984 downloads
enetman V1
enetman provides a network asset management Web application written in PHP with a MySQL backend. more>>
enetman provides a network asset management Web application written in PHP with a MySQL backend.
enetman is a network asset management Web application written in PHP with a MySQL backend. Its intended use is to maintain a structured list of servers that can be cross referenced by location, manufacturer, vendor, CPU, and OS. It allows for a user to create and maintain locations, manufacturers, and vendors along with contact names and phone numbers to each.
It contains a device log that tracks issues that servers have had, a list of network ports on the server along with IP information (IP, subnet, gateway, DNS, network card make/model and MAC) for each port (this includes aliased ports), and a software manager that keeps tabs on expiration dates of software.
It enables the user to create a directory tree with files that can then be attached to locations, vendors, manufacturers, software, or servers.
It maintains a list of all software installed on a server and how many licenses are allocated to it.
A Perl script run from cron emails users when a license is about to expire.
Enhancements:
- Fixed the following bug in the SQL create statment: Warranty spelled as Warrenty
<<lessenetman is a network asset management Web application written in PHP with a MySQL backend. Its intended use is to maintain a structured list of servers that can be cross referenced by location, manufacturer, vendor, CPU, and OS. It allows for a user to create and maintain locations, manufacturers, and vendors along with contact names and phone numbers to each.
It contains a device log that tracks issues that servers have had, a list of network ports on the server along with IP information (IP, subnet, gateway, DNS, network card make/model and MAC) for each port (this includes aliased ports), and a software manager that keeps tabs on expiration dates of software.
It enables the user to create a directory tree with files that can then be attached to locations, vendors, manufacturers, software, or servers.
It maintains a list of all software installed on a server and how many licenses are allocated to it.
A Perl script run from cron emails users when a license is about to expire.
Enhancements:
- Fixed the following bug in the SQL create statment: Warranty spelled as Warrenty
Download (0.022MB)
Added: 2007-02-16 License: GPL (GNU General Public License) Price:
980 downloads
Net::Delicious::Iterator 1.01
Net::Delicious::Iterator is an iterator class for Net::Delicious thingies. more>>
Net::Delicious::Iterator is an iterator class for Net::Delicious thingies.
SYNOPSIS
use Net::Delicious::Iterator;
my @dates = ({...},{...});
my $it = Net::Delicious::Iterator->new("Date",@dates);
while (my $d = $it->next()) {
# Do stuff with $d here
}
NOTES
It isnt really expected that you will instantiate these objects outside of Net::Delicious itself.
PACKAGE METHODS
__PACKAGE__->new($foreign_class,@data)
Returns a Net::Delicious::Iterator object. Woot!
$it->count()
Return the number of available thingies.
$it->next()
Returns the next object in the list of available thingies. Woot!
<<lessSYNOPSIS
use Net::Delicious::Iterator;
my @dates = ({...},{...});
my $it = Net::Delicious::Iterator->new("Date",@dates);
while (my $d = $it->next()) {
# Do stuff with $d here
}
NOTES
It isnt really expected that you will instantiate these objects outside of Net::Delicious itself.
PACKAGE METHODS
__PACKAGE__->new($foreign_class,@data)
Returns a Net::Delicious::Iterator object. Woot!
$it->count()
Return the number of available thingies.
$it->next()
Returns the next object in the list of available thingies. Woot!
Download (0.018MB)
Added: 2006-07-27 License: Perl Artistic License Price:
1184 downloads
Milo Calendar 0.6
Milo Calendar reads the dates stored by KOrganizer and displays them on your desktop in a clear, neat calendar. more>>
Milo Calendar is a SuperKaramba script that reads the dates stored by KOrganizer and displays them on your desktop in a clear, neat calendar.
The calendar also displays todays date and it can move back/forward months. the descriptions of the events are shown via tooltips.
The images for this theme should be very customizable. In the next versions I will try to make them compatible with rainlendar themes found all over the net!
I must thank DeVoeSquared.com for the iCal module, and rainy (rainlendar) for the theme.
Note: if you have multiple KOrganizer resources, you can change the name of the file that milo calendar reads:
the default is:
reader = iCal.ICalReader(std)
in the dir: ~/.kde/share/apps/korganizer/std.ics
<<lessThe calendar also displays todays date and it can move back/forward months. the descriptions of the events are shown via tooltips.
The images for this theme should be very customizable. In the next versions I will try to make them compatible with rainlendar themes found all over the net!
I must thank DeVoeSquared.com for the iCal module, and rainy (rainlendar) for the theme.
Note: if you have multiple KOrganizer resources, you can change the name of the file that milo calendar reads:
the default is:
reader = iCal.ICalReader(std)
in the dir: ~/.kde/share/apps/korganizer/std.ics
Download (0.083MB)
Added: 2007-06-25 License: GPL (GNU General Public License) Price:
853 downloads
Class::Date 1.1.9
Class::Date provides a date datatype for Perl. more>>
Class::Date is a perl module, which provides a simple date type for perl.
You can create new Class::Date objects with a constructor from different scalar formats, array refs, and hash refs, and then you can easily manipulate it by the builtin "+" and "-" operators (e.g., $date=date([2001,03,15])+3Y 1s). Relative date types also available.
Enhancements:
- This release adds "ampm" and "meridiam" methods.
<<lessYou can create new Class::Date objects with a constructor from different scalar formats, array refs, and hash refs, and then you can easily manipulate it by the builtin "+" and "-" operators (e.g., $date=date([2001,03,15])+3Y 1s). Relative date types also available.
Enhancements:
- This release adds "ampm" and "meridiam" methods.
Download (0.034MB)
Added: 2006-05-15 License: GPL (GNU General Public License) Price:
1257 downloads
Kredentials 0.9.2
Kredentials is a KDE systray applet for keeping Kerberos and AFS authentication tokens current. more>>
Kredentials is a KDE systray applet for keeping Kerberos and AFS authentication tokens current.
Each hour Kredentials renews Kerberos tickets and (optionally) obtains new AFS tokens, and it notifies the user upon final ticket expiration.
Installation:
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system. If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute `configure itself.
Running `configure takes a while. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Type `make install to install the programs and any data files and documentation.
4. You can remove the program binaries and object files from the source code directory by typing `make clean.
<<lessEach hour Kredentials renews Kerberos tickets and (optionally) obtains new AFS tokens, and it notifies the user upon final ticket expiration.
Installation:
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system. If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute `configure itself.
Running `configure takes a while. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Type `make install to install the programs and any data files and documentation.
4. You can remove the program binaries and object files from the source code directory by typing `make clean.
Download (0.98MB)
Added: 2007-03-19 License: GPL (GNU General Public License) Price:
949 downloads
App::datetime 0.964
App::datetime is a date and time considerations. more>>
App::datetime is a date and time considerations.
Most Enterprise development includes processing of dates and times. There are many date and time modules on CPAN, and choosing the right one can be confusing. There are no special perl data types for dates and times, so some direction is needed.
The short answer is that we recommend the following for most common date and time operations.
Class::Date
Class::Date::Rel
However, other modules are appropriate in certain circumstances. So for the longer answer, read on.
PERL 5 LANGUAGE SUPPORT
The native Perl 5 datetime type is an integer. It is not different from other integers in any way other than how it is used. It represents the number of non-leap seconds since January 1, 1970 UTC (the "Epoch" at GMT). The following internal Perl function gets the current time.
$current_time = time;
$current_time = time();
Other Perl functions that return this "datetime" integer are
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = stat($filename);
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = lstat($filename);
where $atime, $mtime, and $ctime are the same kind of integers, representing the access time, modification time, and change time of a file.
These $time values may be converted to human-readable form using the following internal perl functions. (See the "perlfunc" man page for more information.)
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($time);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($time);
Furthermore, the current time zone needs to be accessed through the environment variable, "TZ".
$timezone = $ENV{TZ};
This leaves the Perl developer with lots of work to do in order to process dates.
Formatting dates for output
Parsing dates on input
Comparing dates
Date math (addition, subtraction)
Other calendar-specific functions (i.e. holidays, days of week, etc)
Numerous modules have been posted to CPAN allowing the Perl developer to accomplish these tasks. However, they have pros and cons related to the following features.
Internationalization
Speed
Portability
Ranges of Dates Supported
Compliance with Perl Styleguide (function naming)
<<lessMost Enterprise development includes processing of dates and times. There are many date and time modules on CPAN, and choosing the right one can be confusing. There are no special perl data types for dates and times, so some direction is needed.
The short answer is that we recommend the following for most common date and time operations.
Class::Date
Class::Date::Rel
However, other modules are appropriate in certain circumstances. So for the longer answer, read on.
PERL 5 LANGUAGE SUPPORT
The native Perl 5 datetime type is an integer. It is not different from other integers in any way other than how it is used. It represents the number of non-leap seconds since January 1, 1970 UTC (the "Epoch" at GMT). The following internal Perl function gets the current time.
$current_time = time;
$current_time = time();
Other Perl functions that return this "datetime" integer are
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = stat($filename);
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = lstat($filename);
where $atime, $mtime, and $ctime are the same kind of integers, representing the access time, modification time, and change time of a file.
These $time values may be converted to human-readable form using the following internal perl functions. (See the "perlfunc" man page for more information.)
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($time);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($time);
Furthermore, the current time zone needs to be accessed through the environment variable, "TZ".
$timezone = $ENV{TZ};
This leaves the Perl developer with lots of work to do in order to process dates.
Formatting dates for output
Parsing dates on input
Comparing dates
Date math (addition, subtraction)
Other calendar-specific functions (i.e. holidays, days of week, etc)
Numerous modules have been posted to CPAN allowing the Perl developer to accomplish these tasks. However, they have pros and cons related to the following features.
Internationalization
Speed
Portability
Ranges of Dates Supported
Compliance with Perl Styleguide (function naming)
Download (0.12MB)
Added: 2006-10-17 License: Perl Artistic License Price:
1102 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above expiration dates search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed