Bot::IRC::X::Time - Bot::IRC plugin for some time functions
version 1.03
use Bot::IRC; Bot::IRC->new( connect => { server => 'irc.perl.org' }, plugins => ['Time'], )->run;
This Bot::IRC plugin provides some time functions. The following are the details:
Returns the current date and time. If an optional timestamp is provided, it'll return the formatted data and time for that timestamp.
Returns the current timestamp.
Exactly like date except will return Zulu time.
date
Accepts most reasonable date and time strings and returns timestamps for those values.
Accepts most reasonable date and time strings and returns a formatted date and time string.
Accepts a timestamp or a date and time string and returns a duration string like: "1 year, 2 months, and 4 hours"
Accepts a duration string like what would be returned from "when was" and returns a formatted date and time string.
You can look for additional information at:
Bot::IRC
GitHub
MetaCPAN
GitHub Actions
Codecov
CPANTS
CPAN Testers
Gryphon Shafer <gryphon@cpan.org>
This software is Copyright (c) 2016-2021 by Gryphon Shafer.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Bot::IRC::X::Time, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::IRC::X::Time
CPAN shell
perl -MCPAN -e shell install Bot::IRC::X::Time
For more information on module installation, please visit the detailed CPAN module installation guide.