Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.282.858 Times

App::datetime 0.964

  Date Added: March 21, 2010  |  Visits: 703

App::datetime

Report Broken Link
Printer Friendly Version


Product Homepage
Download (76 downloads)

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).

Requirements: No special requirements
Platforms: Linux
Keyword: Appdatetime Current Date Date And Time Dates Following Libraries Perl Programming Time
Users rating: 0/10

License: Freeware Size: 122.88 KB
APP::DATETIME RELATED
Education  -  Quick HCLib 1.02
Quickly view your Hennepin County Library Account - Saves your barcode and pin, no need to re-enter every time you run the app. - View your current items out and due dates. - View items currently being held at the library and when...
7.9 MB  
Form Processors  -  Automatic Date Formatting and Validation 1.1
This script, by using the onkeyup and onblur events handlers for the element, offers you a web form that will automatically format your dates and validate them at the same time.
81.92 KB  
Libraries  -  Time::Format 1.02
Time::Format is a Perl module for easy-to-use date/time formatting. SYNOPSIS use Time::Format qw(%time %strftime %manip); $time{$format} $time{$format, $unixtime} print "Today is $time{yyyy/mm/dd}n"; print "Yesterday was...
38.91 KB  
Libraries  -  Time::Beat 1.21
Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time. Time::Beat is a module to convert normal time to and from .beats, of which there are a thousand in a day. It can change normal time in time() format to .beats,...
3.07 KB  
Development Tools  -  Control system for DC machine with current back-propagation and two levels of excitation 1.0
Control system for DC machine with current back-propagation and two levels of excitation is using in wide area of applications.It developed for modeling of robustness in power circuit of electrical engine. The action of electrical engine...
10 KB  
Calendar  -  Time Reporter 1.0.1
Time Reporter allows you to record time spent on tasks in terms of start and stop times in a simple text format, then calculates the time worked on each task for each day and each reporting period. It is very easy to install and use and provides a...
 
Libraries  -  Regexp::Common::time 0.01
Regexp::Common::time Perl module contains date and time regexps. SYNOPSIS use Regexp::Common qw(time); # Piecemeal, Time::Format-like patterns $RE{time}{tf}{-pat => pattern} # Piecemeal, strftime-like patterns $RE{time}{strftime}{-pat =>...
35.84 KB  
Miscellaneous  -  Date Formatting And Format Validation Script 1.02
Using the library, a developer can parse date strings, format dates to different output strings, compare dates or perform date operations.
10 KB  
Libraries  -  Date::Hijri 0.02
Date::Hijri is a Perl extension to convert islamic (hijri) and gregorian dates. SYNOPSIS use Date::Hijri; # convert gregorian to hijri date my ($hd, $hm, $hy) = g2h($gd, $gm, $gy); # convert hijri to gregorian date my ($gd, $gm, $gy) =...
4.1 KB  
Weather  -  iTyphoon 1.0.0.0
iTyphoon is a premium application that provides typhoon updates to Filipinos and the world for FREE. The application has the following screens: 1. DETAILS screen shows: a. heading (update number, current update date/time, next update...
6 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB