Main > Free Download Search >

Free datetime format excel 0.2901 software for linux

datetime format excel 0.2901

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3483
DateTime::Format::Excel 0.2901

DateTime::Format::Excel 0.2901


DateTime::Format::Excel is a Perl module that can convert between DateTime and Excel dates. more>>
DateTime::Format::Excel is a Perl module that can convert between DateTime and Excel dates.

SYNOPSIS

use DateTime::Format::Excel;

# From Excel via class method:

my $datetime = DateTime::Format::Excel->parse_datetime( 37680 );
print $datetime->ymd(.); # 2003.02.28

# or via an object

my $excel = DateTime::Format::Excel->new();
print $excel->parse_datetime( 25569 )->ymd; # 1970-01-01

# Back to Excel number:

use DateTime;
my $dt = DateTime->new( year => 1979, month => 7, day => 16 );
my $daynum = DateTime::Format::Excel->format_datetime( $dt );
print $daynum; # 29052

# or via an object
my $other_daynum = $excel->format_datetime( $dt );
print $other_daynum; # 29052

Excel uses a different system for its dates than most Unix programs. This module allows you to convert between a few of the Excel raw formats and DateTime objects, which can then be further converted via any of the other DateTime::Format::* modules, or just with DateTimes methods.

If you happen to be dealing with dates between 1 Jan 1900 and 1 Mar 1900 please read the notes on epochs.

If youre wanting to handle actual spreadsheet files, you may find Spreadsheet::WriteExcel and Spreadsheet::ParseExcel of use.

<<less
Download (0.015MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1169 downloads
DateTime::Format::Epoch 0.10

DateTime::Format::Epoch 0.10


DateTime::Format::Epoch is a Perl module that can convert DateTimes to/from epoch seconds. more>>
DateTime::Format::Epoch is a Perl module that can convert DateTimes to/from epoch seconds.

SYNOPSIS

use DateTime::Format::Epoch;

my $dt = DateTime->new( year => 1970, month => 1, day => 1 );
my $formatter = DateTime::Format::Epoch->new(
epoch => $dt,
unit => seconds,
type => int, # or float, bigint
skip_leap_secondss => 1,
start_at => 0,
local_epoch => undef,
);

my $dt2 = $formatter->parse_datetime( 1051488000 );
# 2003-04-28T00:00:00

$formatter->format_datetime($dt2);
# 1051488000

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since a given epoch. It can also do the reverse.

<<less
Download (0.017MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1168 downloads
DateTime::Format::Pg 0.15

DateTime::Format::Pg 0.15


DateTime::Format::Pg is a Perl module to parse and format PostgreSQL dates and times. more>>
DateTime::Format::Pg is a Perl module to parse and format PostgreSQL dates and times.

SYNOPSIS

use DateTime::Format::Pg;

my $dt = DateTime::Format::Pg->parse_datetime( 2003-01-16 23:12:01 );

# 2003-01-16T23:12:01+0200
DateTime::Format::Pg->format_datetime($dt);

This module understands the formats used by PostgreSQL for its DATE, TIME, TIMESTAMP, and INTERVAL data types. It can be used to parse these formats in order to create DateTime or DateTime::Duration objects, and it can take a DateTime or DateTime::Duration object and produce a string representing it in a format accepted by PostgreSQL.

CONSTRUCTORS

The following methods can be used to create DateTime::Format::Pg objects.
new( name => value, ... )

Creates a new DateTime::Format::Pg instance. This is generally not required for simple operations. If you wish to use a different parsing style from the default then it is more comfortable to create an object.

my $parser = DateTime::Format::Pg->new()
my $copy = $parser->new( european => 1 );

This method accepts the following options:

european

If european is set to non-zero, dates are assumed to be in european dd/mm/yyyy format. The default is to assume US mm/dd/yyyy format (because this is the default for PostgreSQL).

This option only has an effect if PostgreSQL is set to output dates in the PostgreSQL (DATE only) and SQL (DATE and TIMESTAMP) styles.
Note that you dont have to set this option if the PostgreSQL server has been set to use the ISO format, which is the default.

server_tz

This option can be set to a DateTime::TimeZone object or a string that contains a time zone name.

This value must be set to the same value as the PostgreSQL servers time zone in order to parse TIMESTAMP WITH TIMEZONE values in the PostgreSQL, SQL, and German formats correctly.

Note that you dont have to set this option if the PostgreSQL server has been set to use the ISO format, which is the default.

clone()

This method is provided for those who prefer to explicitly clone via a method called clone().

my $clone = $original->clone();

If called as a class method it will die.

<<less
Download (0.019MB)
Added: 2007-05-17 License: Perl Artistic License Price:
890 downloads
DateTime::Format::Epoch::JD 0.10

DateTime::Format::Epoch::JD 0.10


DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days. more>>
DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days.

SYNOPSIS

use DateTime::Format::Epoch::JD;

my $dt = DateTime::Format::Epoch::JD->parse_datetime( 2453244.5 );
# 2004-08-27T00:00:00
DateTime::Format::Epoch::JD->format_datetime($dt);
# 2453244.5

my $formatter = DateTime::Format::Epoch::JD->new();
my $dt2 = $formatter->parse_datetime( 2453244.5 );
# 2004-08-27T00:00:00
$formatter->format_datetime($dt2);
# 2453244.5

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the Julian Day number. This is the number of days since noon U.T.C. on January 1, 4713 B.C. (Julian calendar).

This time scale was originally proposed by John Herschel, and is often used in astronomical calculations.

Similar modules are:

DateTime::Format::Epoch::MJD
Implements the "modified Julian Day", starting at midnight U.T.C., November 17, 1858. This number is always 2,400,000.5 lower than the JD, and this count only uses five digits to specify a date between 1859 and about 2130.

DateTime::Format::Epoch::RJD
Implements the "reduced Julian Day", starting at noon U.T.C., November 16, 1858. This number is always 2,400,000 lower than the JD.

DateTime::Format::Epoch::TJD
Implements the "truncated Julian Day", starting at midnight U.T.C., May 24, 1968. This number is always 2,440,000,5 lower than the JD. Actually, there is another version of the TJD, defined as JD modulo 10,000. But that one is a bit harder to implement, so youll have to do with this version of TJD. Or dont use TJDs at all.

DateTime::Format::Epoch::RataDie
Implements the Rata Die count, starting at January 1, 1 (Gregorian). This count is used by DateTime::Calendar programmers.

DateTime::Format::Epoch::Lilian
Implements the Lilian count, named after Aloysius Lilian (a 16th century physician) and first used by IBM (a 19th century punched card machine manufacturer). This counts the number of days since the adoption of the Gregorian calendar. Only days are counted, and October 15, 1584 is day 1.

<<less
Download (0.017MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1165 downloads
DateTime::Format::Epoch::Lilian 0.10

DateTime::Format::Epoch::Lilian 0.10


DateTime::Format::Epoch::Lilian is a Perl module to convert DateTimes to/from Lilian Days. more>>
DateTime::Format::Epoch::Lilian is a Perl module to convert DateTimes to/from Lilian Days.

SYNOPSIS

use DateTime::Format::Epoch::Lilian;

my $dt = DateTime::Format::Epoch::Lilian->parse_datetime( 53244.5 );
# 2004-08-27T00:00:00

DateTime::Format::Epoch::Lilian->format_datetime($dt);
# 53244.5

my $formatter = DateTime::Format::Epoch::Lilian->new();
my $dt2 = $formatter->parse_datetime( 53244.5 );
# 2004-08-27T00:00:00
$formatter->format_datetime($dt2);
# 53244.5

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the Modified Julian Day number. See DateTime::Format::Epoch::JD for a description.

<<less
Download (0.017MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1165 downloads
DateTime::Format::Epoch::MJD 0.10

DateTime::Format::Epoch::MJD 0.10


DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days. more>>
DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days.

SYNOPSIS

use DateTime::Format::Epoch::MJD;

my $dt = DateTime::Format::Epoch::MJD->parse_datetime( 53244 );
# 2004-08-27T00:00:00

DateTime::Format::Epoch::MJD->format_datetime($dt);
# 53244

my $formatter = DateTime::Format::Epoch::MJD->new();
my $dt2 = $formatter->parse_datetime( 53244 );
# 2004-08-27T00:00:00
$formatter->format_datetime($dt2);
# 53244

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the Modified Julian Day number. See DateTime::Format::Epoch::JD for a description.

<<less
Download (0.017MB)
Added: 2006-08-14 License: Perl Artistic License Price:
1168 downloads
DateTime::Format::Epoch::RJD 0.10

DateTime::Format::Epoch::RJD 0.10


DateTime::Format::Epoch::RJD is a Perl module that can convert DateTimes to/from Reduced Julian Days. more>>
DateTime::Format::Epoch::RJD is a Perl module that can convert DateTimes to/from Reduced Julian Days.

SYNOPSIS

use DateTime::Format::Epoch::RJD;

my $dt = DateTime::Format::Epoch::RJD->parse_datetime( 53244.5 );
# 2004-08-27T00:00:00
DateTime::Format::Epoch::RJD->format_datetime($dt);
# 53244.5

my $formatter = DateTime::Format::Epoch::RJD->new();

my $dt2 = $formatter->parse_datetime( 53244.5 );
# 2004-08-27T00:00:00

$formatter->format_datetime($dt2);
# 53244.5

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the Reduced Julian Day number. See DateTime::Format::Epoch::JD for a description.

<<less
Download (0.017MB)
Added: 2006-08-17 License: Perl Artistic License Price:
1164 downloads
DateTime::Format::Epoch::TJD 0.10

DateTime::Format::Epoch::TJD 0.10


DateTime::Format::Epoch::TJD is a Perl module that can convert DateTimes to/from Truncated Julian Days. more>>
DateTime::Format::Epoch::TJD is a Perl module that can convert DateTimes to/from Truncated Julian Days.

SYNOPSIS

use DateTime::Format::Epoch::TJD;

my $dt = DateTime::Format::Epoch::TJD->parse_datetime( 13244.5 );
# 2004-08-27T00:00:00

DateTime::Format::Epoch::TJD->format_datetime($dt);
# 13244.5

my $formatter = DateTime::Format::Epoch::TJD->new();
my $dt2 = $formatter->parse_datetime( 13244.5 );
$formatter->format_datetime($dt2);

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the Truncated Julian Day number. See DateTime::Format::Epoch::JD for a description.

<<less
Download (0.017MB)
Added: 2006-08-16 License: Perl Artistic License Price:
1165 downloads
DateTime::Format::Epoch::DotNet 0.10

DateTime::Format::Epoch::DotNet 0.10


DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds. more>>
DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds.

SYNOPSIS

use DateTime::Format::Epoch::DotNet;

my $dt = DateTime::Format::Epoch::DotNet->parse_datetime( 1051488000 );

DateTime::Format::Epoch::DotNet->format_datetime($dt);
# 1051488000

my $formatter = DateTime::Format::Epoch::DotNet->new();
my $dt2 = $formatter->parse_datetime( 1051488000 );
$formatter->format_datetime($dt2);

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since the epoch defined in the .NET Framework SDK.
Note that this epoch is defined in the local time zone. This means that these two pieces of code will print the same number of seconds, even though they represent two datetimes 6 hours apart:

$dt = DateTime->new( year => 2003, month => 5, day => 2,
time_zone => Europe/Amsterdam );
print $formatter->format_datetime($dt);

$dt = DateTime->new( year => 2003, month => 5, day => 2,
time_zone => America/Chicago );
print $formatter->format_datetime($dt);

<<less
Download (0.017MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1165 downloads
DateTime::Format::Epoch::RataDie 0.10

DateTime::Format::Epoch::RataDie 0.10


DateTime::Format::Epoch::RataDie is a Perl module that can convert DateTimes to/from Rata Die. more>>
DateTime::Format::Epoch::RataDie is a Perl module that can convert DateTimes to/from Rata Die.

SYNOPSIS

use DateTime::Format::Epoch::RataDie;

my $dt = DateTime::Format::Epoch::RataDie->parse_datetime( $count );

DateTime::Format::Epoch::RataDie->format_datetime($dt);
# $count

my $formatter = DateTime::Format::Epoch::RataDie->new();
my $dt2 = $formatter->parse_datetime( $count );
$formatter->format_datetime($dt2);

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the Rata Die count. See DateTime::Format::Epoch::JD for a description.

<<less
Download (0.017MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1165 downloads
DateTime::Format::Epoch::Unix 0.10

DateTime::Format::Epoch::Unix 0.10


DateTime::Format::Epoch::Unix is a Perl module that can convert DateTimes to/from Unix epoch seconds. more>>
DateTime::Format::Epoch::Unix is a Perl module that can convert DateTimes to/from Unix epoch seconds.

SYNOPSIS

use DateTime::Format::Epoch::Unix;

my $dt = DateTime::Format::Epoch::Unix->parse_datetime( 1051488000 );
# 2003-04-28T00:00:00

DateTime::Format::Epoch::Unix->format_datetime($dt);
# 1051488000

my $formatter = DateTime::Format::Epoch::Unix->new();
my $dt2 = $formatter->parse_datetime( 1051488000 );
$formatter->format_datetime($dt2);

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since the Unix epoch.

<<less
Download (0.017MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1165 downloads
DateTime::Format::Roman 0.03

DateTime::Format::Roman 0.03


DateTime::Format::Roman is a Perl module with roman day numbering for DateTime objects. more>>
DateTime::Format::Roman is a Perl module with roman day numbering for DateTime objects.

SYNOPSIS

use DateTime::Format::Roman;

my $formatter = DateTime::Format::Roman->new(
pattern => %d %f %b %y );

my $dt = DateTime->new( year => 2003, month => 5, day => 28 );

$formatter->format_datetime($dt);
# 5 Kal Jun 2003

This module formats dates in the Roman style.

The Romans expressed their dates in relation to three fixed dates per month. For example: the Ides of March was the 15th of that month; 14 March was called "2 Ides", 13 March was called "3 Ides", etcetera. The days in the second half of the month were named after the first day of the next month, the "Kalends"; e.g. 16 March was called "17 Kalends of April".

METHODS

new( pattern => $string )

Creates a new formatter object. The optional formatting pattern defines the format of the output of format_datetime(). If no formatting pattern is given, a reasonable default is used.

format_datetime($datetime)

Retruns the formatted string. This method can be called on a formatter object (created by new()), or it can be called as a class method. In the latter case, the default pattern is used.

PATTERN SPECIFIERS

The following specifiers are allowed in the format strings given to the new() method:

%b

The abbreviated month name.

%B

The full month name.

%d

The day of the month as a decimal number (including 1 for the fixed days).

%D

The day of the month, written as a number plus the corresponding fixed day.

%f

The fixed day part of the date.

%m

The month as a decimal number (range 1 to 12).

%y

The year as a decimal number.

If a specifier is preceded by O or o, numbers will be written in uppercase and lowercase Roman numerals, respectively.

The %f specifier accepts an additional argument of 1 digit, specifying the length of the output:

%0f : abbreviated name (e.g. "Kal")
%1f : full name (e.g. "Kalends")
%2f : one-letter abbreviation (e.g. "K")

<<less
Download (0.011MB)
Added: 2007-08-14 License: Perl Artistic License Price:
801 downloads
DateTime::Format::Epoch::TAI64 0.10

DateTime::Format::Epoch::TAI64 0.10


DateTime::Format::Epoch::TAI64 is a Perl module that can convert DateTimes to/from TAI64 values. more>>
DateTime::Format::Epoch::TAI64 is a Perl module that can convert DateTimes to/from TAI64 values.

SYNOPSIS

use DateTime::Format::Epoch::TAI64;

my $dt = DateTime::Format::Epoch::TAI64
->parse_datetime( 4611686019483526367 );
# 2003-06-20T19:49:59

DateTime::Format::Epoch::TAI64->format_datetime($dt);
# 4611686019483526367

my $formatter = DateTime::Format::Epoch::TAI64->new();

$dt = $formatter->parse_datetime( 4611686019483526367 );
# 2003-06-20T19:49:59

$formatter->format_datetime($dt);
# 4611686019483526367

my $str_frmt = DateTime::Format::Epoch::TAI64->new(
format => string );

$dt = $str_frmt->parse_datetime( "x40 x3exf3x69x6a" );
# 2003-06-20T19:49:59

$str_frmt->format_datetime($dt);
# "x40 x3exf3x69x6a"

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to a TAI64 value. The TAI64 timescale covers the entire expected lifespan of the universe (at least, if you expect the universe to be closed).

<<less
Download (0.017MB)
Added: 2006-08-14 License: Perl Artistic License Price:
1168 downloads
DateTime::Format::Epoch::MacOS 0.10

DateTime::Format::Epoch::MacOS 0.10


DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds. more>>
DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds.

SYNOPSIS

use DateTime::Format::Epoch::MacOS;

my $dt = DateTime::Format::Epoch::MacOS->parse_datetime( 1051488000 );
DateTime::Format::Epoch::MacOS->format_datetime($dt);
# 1051488000

my $formatter = DateTime::Format::Epoch::MacOS->new();

my $dt2 = $formatter->parse_datetime( 1051488000 );

$formatter->format_datetime($dt2);
# 1051488000

This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since the Mac OS epoch.
Note that the Mac OS epoch is defined in the local time zone. This means that these two pieces of code will print the same number of seconds, even though they represent two datetimes 6 hours apart:

$dt = DateTime->new( year => 2003, month => 5, day => 2,
time_zone => Europe/Amsterdam );
print $formatter->format_datetime($dt);

$dt = DateTime->new( year => 2003, month => 5, day => 2,
time_zone => America/Chicago );
print $formatter->format_datetime($dt);

Mac OS X is a Unix system, and uses the Unix epoch (1970-01-01T00:00:00). Use DateTime::Format::Epoch::Unix instead.

<<less
Download (0.017MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1166 downloads
DateTime::Format::Builder 0.7807

DateTime::Format::Builder 0.7807


DateTime::Format::Builder is a Perl module to create datetime parser classes and objects. more>>
DateTime::Format::Builder is a Perl module to create datetime parser classes and objects.

SYNOPSIS

package DateTime::Format::Brief;
our $VERSION = 0.07;
use DateTime::Format::Builder
(
parsers => {
parse_datetime => [
{
regex => qr/^(d{4})(dd)(dd)(dd)(dd)(dd)$/,
params => [qw( year month day hour minute second )],
},
{
regex => qr/^(d{4})(dd)(dd)$/,
params => [qw( year month day )],
},
],
}
);

DateTime::Format::Builder creates DateTime parsers. Many string formats of dates and times are simple and just require a basic regular expression to extract the relevant information. Builder provides a simple way to do this without writing reams of structural code.

Builder provides a number of methods, most of which youll never need, or at least rarely need. Theyre provided more for exposing of the modules innards to any subclasses, or for when you need to do something slightly beyond what I expected.

<<less
Download (0.047MB)
Added: 2007-05-17 License: Perl Artistic License Price:
890 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5