Jerome Quelin > Language-Befunge > Language::Befunge::lib::TIME

Download:
Language-Befunge-5.000.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 5.000   Source  

NAME ^

Language::Befunge::lib::TIME - date / time extension

VERSION ^

version 5.000

DESCRIPTION ^

The TIME fingerprint (0x54494D45) allows to work with date & time.

FUNCTIONS ^

new

Create a new TIME instance.

Date subroutines

Y() - push current year on the stack
O() - push current month on the stack
D() - push current day of month on the stack
F() - push current day of year on the stack
W() - push current week day on the stack (1 = sunday)

Time subroutines

H() - push current hour on the stack
M() - push current minute on the stack
S() - push current second on the stack

Timezone subroutines

All previous functions work with local time by default. One can change the timezone with the following:

G() - set time functions to GMT
L() - set time functions to local time

SEE ALSO ^

http://www.rcfunge98.com/rcsfingers.html#TIME.

AUTHOR ^

Jerome Quelin

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2003 by Jerome Quelin.

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

syntax highlighting: