BuzzSaw

 view release on metacpan or  search on metacpan

lib/BuzzSaw/DateTime.pm  view on Meta::CPAN

=item C<today>

1 second after midnight on this day.

=item C<recent>

10 minutes ago.

=item C<yesterday>

1 second after midnight on the previous day.

=item C<this-week>

1 second after midnight on the first day of the week.

=item C<this-month>

1 second after midnight on the first day of the month.

=item C<this-year>

1 second after midnight on the first day of the year.

=item C<week-ago>

Seven days ago.

=item seconds from unix epoch

A string which is purely digits will be treated as being the number of
seconds since the unix epoch.

=item variously formatted date/time strings

Anything else that does not match something which has already been
mentioned above is passed to the L<Date::Parse> C<strptime>
function. This should work if the string is well formatted, if not you
might get something very weird returned.

=back

=back

=head1 DEPENDENCIES

L<DateTime>, L<DateTime::Duration>, L<Date::Parse>

=head1 SEE ALSO

L<BuzzSaw>

=head1 PLATFORMS

This is the list of platforms on which we have tested this
software. We expect this software to work on any Unix-like platform
which is supported by Perl.

ScientificLinux6

=head1 BUGS AND LIMITATIONS

Please report any bugs or problems (or praise!) to bugs@lcfg.org,
feedback and patches are also always very welcome.

=head1 AUTHOR

    Stephen Quinney <squinney@inf.ed.ac.uk>

=head1 LICENSE AND COPYRIGHT

    Copyright (C) 2012 University of Edinburgh. All rights reserved.

This library is free software; you can redistribute it and/or modify
it under the terms of the GPL, version 2 or later.

=cut



( run in 1.184 second using v1.01-cache-2.11-cpan-39bf76dae61 )