Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

datetime::format::epoch::unix(3pm) [debian man page]

DateTime::Format::Epoch::Unix(3pm)			User Contributed Perl Documentation			DateTime::Format::Epoch::Unix(3pm)

NAME
DateTime::Format::Epoch::Unix - 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); DESCRIPTION
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. METHODS
Most of the methods are the same as those in DateTime::Format::Epoch. The only difference is the constructor. o new() Constructor of the formatter/parser object. It has no parameters. SUPPORT
Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details. AUTHOR
Eugene van der Pijll <pijll@gmx.net> COPYRIGHT
Copyright (c) 2003 Eugene van der Pijll. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
DateTime datetime@perl.org mailing list perl v5.10.1 2007-12-03 DateTime::Format::Epoch::Unix(3pm)

Check Out this Related Man Page

DateTime::Format::Epoch::MJD(3pm)			User Contributed Perl Documentation			 DateTime::Format::Epoch::MJD(3pm)

NAME
DateTime::Format::Epoch::MJD - 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 DESCRIPTION
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. METHODS
Most of the methods are the same as those in DateTime::Format::Epoch. The only difference is the constructor. o new() Constructor of the formatter/parser object. It has no parameters. SUPPORT
Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details. AUTHOR
Eugene van der Pijll <pijll@gmx.net> COPYRIGHT
Copyright (c) 2004 Eugene van der Pijll. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
DateTime datetime@perl.org mailing list perl v5.10.1 2007-12-03 DateTime::Format::Epoch::MJD(3pm)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix with Windows 2000

Hey! I have just acquired a Unisys SMP6400 server. It has Unix already installed. It has 2 disk drives: 1 is 2 gig with Unix setup on it. The 2nd drive is 8 gig with apps. Both drives are under Mylex DAC960 raid control. Here is my question, can I install Windows 2000 Pro on this machine either... (11 Replies)
Discussion started by: mastermold
11 Replies

2. HP-UX

Bouncing Unix Servers

Hi there, I was wondering if any of you good people out there could answer these question: A - why Unix servers are bounced once a in while in commercial environments? B - in what circumestances Unix Server are bouced? Many thanks for your time. Kind regards MH (17 Replies)
Discussion started by: mhossien
17 Replies

3. UNIX for Dummies Questions & Answers

Extracting information from text fields.

Dear friends, I'm a novice Unix user and I'm trying to learn the ropes. I have a big task I have to accomplish and I'm convinced Unix can get the job done, I just haven't figured out how. I recently posted on the topic of cutting text between unique text patterns and somebody helped me a great... (24 Replies)
Discussion started by: spindoctor
24 Replies

4. HP-UX

scripts problem

Hi, the only experience I have with Unix is on C360 workstations using 10.20 and Omniback II to restore email with HP Openmail. I have four brand new machines that I am installing the OS and software on, however, their are scripts that were written specifically for our tape process that I have... (13 Replies)
Discussion started by: Asheley Ryan
13 Replies

5. What is on Your Mind?

Certification Programme for Unix Shell Scripting

Hi All, Can any one know about "Certification Programme for Unix Shell Scripting"? How do I become Certified Unix shell scripting programmer? Where will I get this certification? How do I continue my career as a script programmer? What are the additional things to learn. Currently I know... (14 Replies)
Discussion started by: ganapati
14 Replies

6. Programming

Swing and Unix

We use a Unix terminal emulator like xterm at work to connect to our Unix machines from our PCs. I need to set up an interactive form that can display form elements (like toggle, radio, buttons, drop-down lists, etc). I thought it'd be a simple thing to use Java's Swing classes to help with this,... (11 Replies)
Discussion started by: nwboy74
11 Replies

7. What is on Your Mind?

Most deadly commands on Unix/Linux !!

lets list the most deadly commands on Unix/Linux and what they do.... > sudo rm -rf / (27 Replies)
Discussion started by: Rahulpict
27 Replies

8. Fedora

Unix-based operating systems

Hello. I own a MacBook (black) running Leopard (Mac OS X 10.5.8), and I'm curious about a few things -- any help will be very, very much appreciated. I'm pretty much a newbie to Unix, although I have some very basic command-line skills with Mac OS X's Terminal. So while I know how to work the... (13 Replies)
Discussion started by: Tron55555
13 Replies

9. What is on Your Mind?

The Language of the Unix World should Change

We should put an end to saying "orphan", "kill child", "zombie". Anyone, We should change the awful metaphors used in the language of managing Unix processes. I believe that this still humbly local initiative hides a great importance of how the world of Unix looks and feels to every user. ... (18 Replies)
Discussion started by: tonank
18 Replies

10. Shell Programming and Scripting

How to concatenate this simple line in Unix?

(13 Replies)
Discussion started by: javygonx
13 Replies

11. Shell Programming and Scripting

Mail from Unix

Hi All I recently installed Ubuntu on my computer. For using the mailx function what are the pre necessary condition which should be configured so that when when i use the mailx option the mail should go to the intended users. (12 Replies)
Discussion started by: parthmittal2007
12 Replies

12. UNIX for Dummies Questions & Answers

Opening a Unix File with Mac OS X

Hi. I'm new to Unix and recently received Unix files via email. I downloaded those files but am unable to open them on my computer which uses Mac OS X. How do I open the files? (11 Replies)
Discussion started by: michellemc
11 Replies