Linux SoftwareProgrammingLibrariesTime::Beat 1.21

Time::Beat 1.21


Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time. Time::Beat is a module to convert normal tim
Developer:   Earle Martin
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   3K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time.

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.

beats($time)

beats will give you the current time in .beats if you do not specify a time string. If you specify a string in time() format it will return that particular time in .beats. The basic algorithm for doing this is to take the time in GMT+1 hour, convert it into seconds, and divide by 86.4.

time24($beat)

time24 takes a 3-digit beat time and outputs a 24-hour time along the lines of "12:34:56". The hours will have leading noughts.

time12($beat)

time12 takes a 3-digit beat time and outputs a 12-hour time along the lines of "12:34:56 am" or "12:34:56 pm". Hours do not have leading noughts.

Requirements:
  • Perl
    tags time beat  beat time  normal time  time and  time along  hour time  along the  have leading  leading noughts  and outputs  the lines  time24 beat  time format  

    Download Time::Beat 1.21


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/E/EM/EMARTIN/Time-Beat-1.21.tar.gz


    Authors software

    Time::Beat 1.21 (by Earle Martin)
    Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time.

    Time::Beat is a module to convert normal tim

    Lingua::EN::WordsToNumbers 0.11 (by Earle Martin)
    Lingua::EN::WordsToNumbers is Perl module to convert numbers written in English to actual numbers.

    This module is an OO wrapper fo

    CGI::Wiki::Plugin::RSS::Reader 1.4 (by Earle Martin)

    Wiki::Toolkit::Plugin::RSS::Reader 1.5 (by Earle Martin)
    Wiki::Toolkit::Plugin::RSS::Reader is a Perl module to retrieve RSS feeds for inclusion in Wiki::Toolkit nodes.

    Use this Wiki::Too


    Similar software

    Time::Beat 1.21 (by Earle Martin)
    Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time.

    Time::Beat is a module to convert normal tim

    Beat Clock 1.0 (by Thomas Cherry)
    Beat Clock is a simple internet Beat Clock.

    Internet time or Beat time is a system developed by Swatch (the watch company) where y

    BeatMonkey 0.1 (by Michael Pruett)
    Beat Monkey is a very simple program which calulates BPM or sample frames given sample rate, beats, and sample frames or BPM, respect

    Open Beat Box 0.7.1 (by Open Beat Box Team)
    Open Beat Box (OBB) is an open-source beat box ( a virtual drum machine ).

    We are still in an early stage of development but we ai

    pyTrommler 1.0 (by Robert Muth)
    pyTrommler is a cross platform drum machine that is loosely based on the now defunct Trommler project

    Deep Breathing 1.9 (by Steven Yi)
    Deep Breathing is a small program program I wrote that guides a user for deep breathing

    Time::Convert 0.5 (by Time::Convert Team)

    QMetronome 0.1 (by D-beat productions)
    QMetronome is a skinnable metronome for Qt licenced under the GPL.
    The qualitiy of the prepackaged skins are questionable but it is

    wmtz 0.7 (by Jan Lindblom)
    wmtz displays the time in different time zones as defined in it's configuration file

    Beats of Rage 1.0029 (by Beats of Rage Team)
    Beats of Rage is a tribute to Streets of Rage.

    Originally intended as nothing more than a fun little private project, Beats of Rag


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags