Skip to content
A collection of modules to enhance Perl 6's Date and DateTime classes.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/DateTime
t
.gitignore
CREDITS
LICENSE
README

README

Temporal Utils
----------------

This project is intended to be a collection of libraries which
enhance the Temporal classes from Perl 6: Date and DateTime.

The first such library is DateTime::Utils, which formerly lived
in the Rakudo tree as DateTime::strftime.

It offers some useful exported subroutines to make working with DateTime
objects much easier.

Use 'ufo' to generate the Makefile for this project.
See http://github.com/masak/ufo for more details.

=== Example Use Case ===

use DateTime::Utils;
my $dt = DateTime.now(:timezone(iso-offset('-0800')));
say "It's "~strftime('%T', $dt)~" at supernovus's place.";
say "It's "~strftime('%T', $dt.in-timezone(iso-offset('+0200')))~" at masak's place.";

Something went wrong with that request. Please try again.