☺唐鳳☻ > DateTime-Functions-0.01 > DateTime::Functions

Download:
DateTime-Functions-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

DateTime::Functions - Procedural interface to DateTime functions

VERSION ^

This document describes version 0.01 of DateTime::Functions, released October 31, 2003.

SYNOPSIS ^

    use DateTime::Functions;
    print today->year;
    print now->strftime("%Y-%m-%d %H:%M:%S");

DESCRIPTION ^

This module simply exports all class methods of DateTime into the caller's namespace.

METHODS ^

Unless otherwise noted, all methods correspond to the same-named class method in DateTime. Please see DateTime for which parameters are supported.

Constructors

All constructors can die when invalid parameters are given. They all return DateTime objects, except for duration() which returns a DateTime::Duration object.

Utility Functions

SEE ALSO ^

DateTime

AUTHORS ^

Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT ^

Copyright 2003 by Autrijus Tang <autrijus@autrijus.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html