plugin to use DateTime objects in the Template Toolkit


Basic usage for Template::Plugin::DateTime is as follows:

USE date = DateTime(year = 2004, month = 4, day = 1);


by passing a pattern to parse a date by string using DateTime::Format::Strptime

USE date = DateTime(from_string => '2008-05-30 00:00:00',
                    pattern => '%Y-%m-%d %H:%M:%S',
                    time_zone => 'America/New_York');

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtemplate-plugin-datetime-perl