#perl - Tue 17 Apr 2007 between 01:13 and 01:15

NY Lost Funds



imMutezortz: that means we have a very small list of core functions, we dont cram as much crap as we can in core
f00li5hzortz: mod
simcop2387CPAN: search date
CPANsimcop2387: huh?
simcop2387hrm
Jmax-perlbot datetime
perlbotThe Perl DateTime Project - http://datetime.perl.org/
f00li5hCPAN: meow
riczhoLeap years are easy- just check the year mod 4 and mod 100.
CPANf00li5h: hm?
simcop2387perlbot url for DateTime
perlbotDocumentation for 'DateTime' can be found here: http://xrl.us/vsk8
f00li5hriczho: and mod 400!
simcop2387ah
DateTime has it
zortzriczho: not for all time :)
simcop2387i forget how to do it though :)
riczho: and mod 400!
zortzsimcop2387: ah.. 3rd party module
simcop2387er stupid brane
zortz: everything you ever need is on CPAN
zortzyeh
riczhoOops, did I forget the rules? To wikipedia!
__mmapugh
zortzi dont' want to have to use an unbundled module
f00li5hzortz: yes, you do.
zortzriczho: actually.. u may be right...
imMutecore: Time::DateTime
buubotTime::DateTime will be added by christmas
imMuteor something like that
simcop2387: what module is it?
f00li5hzortz: it's really not that hard to install modules from cpan
zortzriczho: i think i confused history of DST w/ leap years... now THAT is complicated
riczhozortz: No, I'm wrong.
f00li5hzortz: ant it's not worth wasting your time to reinvent the wheel again
zortzoh it isn't jsut mod 4?
riczho(http://en.wikipedia.org/wiki/Leap_year#Leap_year_algorithms)
zortzf00li5h: yeh exactly
f00li5hzortz: every 100th leapyear isn't a leap year
simcop2387imMute: DateTime

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 

IrcArchive

NY Lost Funds