Earle Martin > Time-Beat-1.21 > Time::Beat

Download:
Time-Beat-1.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.21   Source  

NAME ^

Time::Beat - Module to convert between standard time and Swatch ".beat" time.

DESCRIPTION ^

Time::Beat is a module to convert normal time to and from .beats, of which there are a thousand in a day. It can change normal time in time() format to .beats, and .beats into either 24-hour or 12-hour normal time.

SYNOPSIS ^

    use Time::Beat qw(beat time24 time12);

    my $time_in_beats = beats($time);

    my $beats_in_24hr_time = time24($beat);

    my $beats_in_12hr_time = time12($beat);

METHODS ^

There are three methods in Time::Beat.

CHANGES ^

Important: As of v1.11 the method names have changed. The former method names, beattime, timebeat24 and timebeat12 will still work, but they have been deprecated, and will be removed at some point in the future.

AUTHOR ^

Earle Martin <emartin@cpan.org>. Originally written by James Duncan <jduncan@fotango.com>.

LICENSE ^

This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

SEE ALSO ^