NAME

App::JobLog::Time - consolidates basic time functions into one location

VERSION

version 1.042

DESCRIPTION

App::JobLog::Time puts the cachable time functions into a common module to improve efficiency and facilitate testing.

METHODS

now

The present moment with the time zone set to $App::JobLog::Time::tz. This may be overridden with $App::JobLog::Time::now.

today

Unless $App::JobLog::Time::today has been set, whatever is given by now truncated to the day.

tz

Returns time zone, which will be the local time zone unless $App::JobLog::Time::tz has been set.

AUTHOR

David F. Houghton <dfhoughton@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by David F. Houghton.

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