Re: Class::DBI::Plugin::DateTime requires DBD::Pg?

2009-02-20 Thread Daisuke Maki
I didn't even know where that sourcecode was, so pulled it up from CPAN, stuck it into a new repository, and now you have 0.05. Nothing new, just that Makefile.PL assumes you know what you're doing, and won't try to install anything. tests all merrily go their own way unless the DSNs and what

How to get the first second of a given Day.

2009-02-20 Thread Deviloper
Hello there! I have a question, regarding date calculation. I need to know the timestamp of the first (and last) second of a given day. For Example: I have the Date 12, 25th, 2008. But I want to know the unixtimestamp of 0:00:00 12, 25th, 2008 and 23:59:59 of 12,25th,2008. Because of shift

Re: How to get the first second of a given Day.

2009-02-20 Thread Zefram
Deviloper wrote: But I want to know the unixtimestamp of 0:00:00 12, 25th, 2008 and 23:59:59 of 12,25th,2008. Because of shift seconds this is not so easy as I thought. Unix time doesn't count leap seconds. 2008-12-25 is 14238 days after the Unix epoch (1970-01-01), so the Unix time at

Re: Co-maintainer of DateTime::Format::Strptime

2009-02-20 Thread Rick Measham
Steffen Mueller wrote: Hi Greg, hi Rick, this somehow slipped through the modu...@perl.org people's nets. I'm CC'ing the datetime list in case Rick's reading that. Thanks Steffan I'd like to be given the rights to co-maintain the DateTime::Format::Strptime, as it has a number of bugs that