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

Download:
Language-Befunge-4.13.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

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

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 ^

Language::Befunge, http://www.rcfunge98.com/rcsfingers.html#TIME.

AUTHOR ^

Jerome Quelin, <jquelin@cpan.org>

COPYRIGHT & LICENSE ^

Copyright (c) 2001-2009 Jerome Quelin, all rights reserved.

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

syntax highlighting: