Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

data::printer::filter::datetime(3pm) [debian man page]

Data::Printer::Filter::DateTime(3pm)			User Contributed Perl Documentation		      Data::Printer::Filter::DateTime(3pm)

NAME
Data::Printer::Filter::DateTime - pretty-printing date and time objects (not just DateTime!) SYNOPSIS
In your program: use Data::Printer filters => { -external => [ 'DateTime' ], }; or, in your ".dataprinter" file: { filters => { -external => [ 'DateTime' ], }, }; You can also setup color and display details: use Data::Printer filters => { -external => [ 'DateTime' ], }, color => { datetime => 'bright_green', } datetime => { show_class_name => 1, # default is 0 show_timezone => 0, # default is 1 (only works for DateTime objects) }, }; DESCRIPTION
This is a filter plugin for Data::Printer. It filters through several date and time manipulation classes and displays the time (or time duration) as a string. Parsed Modules o DateTime o DateTime::Duration o DateTime::Incomplete o Time::Piece o Date::Handler o Date::Handler::Delta o Date::Calc::Object o Date::Pcalc::Object If you have any suggestions for more modules or better output, please let us know. SEE ALSO
Data::Printer perl v5.14.2 2011-06-07 Data::Printer::Filter::DateTime(3pm)

Check Out this Related Man Page

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

NAME
DateTime::Format::Epoch::RataDie - 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); DESCRIPTION
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. 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::RataDie(3pm)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Local Printer Setup

Hi to all, A real virgin to unix, so sorry for such a basic question. Have a older unix terminal with crashed server. Software resides to terminal. Don't have network printing capabilities. I removed network printer and gone local, but don't know how to redirect the device for local... (3 Replies)
Discussion started by: Rogie
3 Replies

2. Shell Programming and Scripting

Extracting String from a list

I have a string of Data such as Date Time Tran1 Tran2 Tran3 ...... How can I extract just all the trans excluding Date and Time. Thanks, Odogbolu98 ;) (4 Replies)
Discussion started by: odogbolu98
4 Replies

3. UNIX for Dummies Questions & Answers

Data gone?

If you have data on an external drive and you re-partition the drive (no format), is the data totally gone? :( (9 Replies)
Discussion started by: shorty
9 Replies

4. Shell Programming and Scripting

merging of files.

Hi, I want to merge the two files on the basis of columns like... file 1 Data Key A 12 B 13 file2 Data Value A A1 A A2 B B1 B B2 (5 Replies)
Discussion started by: clx
5 Replies

5. Shell Programming and Scripting

Get Data Between a specific Date Range from logs

I need to extract data from logs for a mentioned date range..Its quite urgent can anyone help me out with it..its to be written in unix..just thought its better to specify.. (4 Replies)
Discussion started by: sankasu
4 Replies

6. AIX

Printer delay before final form feed

Hi, I am new to printing with Unix (AIX on HP). I am printing from a COBOL program. On our test system the page prints and does a Form Feed to the next page. This is good. When I release the program to our customer it prints the page but waits 5 or more seconds before doing a page... (11 Replies)
Discussion started by: habler
11 Replies

7. Shell Programming and Scripting

How to add date as a prefix for each outputline

What is the best way of printing date-time at the beginning of each output line? DTTIME=$(date +%Y%m%d%H%M%S) myfile.log 0.0 5.2 0.0 41.6 0.1 0.8 15.0 160.2 8 40 d0 0.0 0.8 0.0 6.4 0.0 0.0 13.7 53.2 1 4 d2 3.3 109.4 16.9 721.5 0.9 7.0 ... (5 Replies)
Discussion started by: kchinnam
5 Replies

8. Shell Programming and Scripting

Filter date and time form a file using sed command

I want to filter out the date and time from this line in a file. How to do this using sed command. on Tue Apr 19 00:48:29 2011 (12 Replies)
Discussion started by: vineet.dhingra
12 Replies

9. Shell Programming and Scripting

Fix timestamp with Sed or Awk

Hi I am dealing with the following string: Date: Thur, 13 March 2011 01:01:10 +0000 I asked for help in another topic that converted a similar string: Date: Thur, 13 March 2011 9:50 AM To a 24 hr standard. The problem is that it comes out as: Date: Thur, 13 March 2011 9:50:00 +0000... (4 Replies)
Discussion started by: duonut
4 Replies

10. SCO

Printer is winning the battle! (for now)

All, Q: how would I add some escape codes to an interface that i have setup t print.? Goal: to switch from NLQ to Util modes. back and forth. Scenerio: SCO OS 5.05 PRINTER: OKI Data 320 or similar. printer is called "test" What I have done thus far. (just cannot get their) I can from a... (6 Replies)
Discussion started by: TheSniper
6 Replies

11. Shell Programming and Scripting

awk print pattern match line and following lines

Data: Pattern Data Data Data Data Data Data Data Data Data ... With awk, how do I print the pattern matching line, then the subsequent lines following the pattern matching line. Varying number of lines following the pattern matching line. (9 Replies)
Discussion started by: dmesserly
9 Replies

12. UNIX for Dummies Questions & Answers

Data/date manipulation

Hallo Team, I need your help. I would like to change field9 format to yyyy-mm-dd it should be for example 2013-11-16 instead of 20131116 0780112843,0873599381,E,ISOL,ZAR,0.0035,O,1,20131116,4373200,0.21 0733001720,0873516499,E,ISOL,ZAR,0.0035,O,1,20131116,4331600,0.21... (3 Replies)
Discussion started by: kekanap
3 Replies

13. Shell Programming and Scripting

How to use awk to output such a pattern?

Hi all, I want to output the following pattern in a comma separted format, but am not able to do it. Table1.FIND.Value= 124 Data Data Data Data Data Table1.FIND.Value =256 Data Data Data Data Data The outPut i expect is (5 Replies)
Discussion started by: sidnow
5 Replies

14. UNIX for Beginners Questions & Answers

How to calculate time duration in Linux?

I want to calculate duration for below file in this format SID | Date | Starttime |Date |End time 1607 |2019-04-05|13:06:42|2019-04-05|13:07:12 2327 |2019-04-05|13:57:26|2019-04-05|13:57:43 O/p should be like this: SID | Date | Starttime |Date |Endtime... (4 Replies)
Discussion started by: anupmishra
4 Replies