GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

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

Data::Printer::Filter::DateTime - pretty-printing date and time objects (not just DateTime!)

In your ".dataprinter" file:

    filters = DateTime

You may also customize the look and feel with the following options (defaults shown):

    filter_datetime.show_class_name = 1
    filter_datetime.show_timezone   = 0

    # you can even customize your themes:
    colors.datetime = #cc7a23

That's it!

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.

  • Time::Piece, Time::Seconds
  • Time::Moment
  • DateTime, DateTime::Duration, DateTime::Incomplete, DateTime::TimeZone
  • DateTime::Tiny
  • Date
  • Date::Tiny
  • Date::Calc::Object
  • Date::Handler, Date::Handler::Delta
  • Date::Simple
  • Mojo::Date
  • Class::Date, Class::Date::Rel
  • Date::Manip

If you have any suggestions for more modules or better output, please let us know.

Data::Printer
2021-01-30 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.