in reply to Re: Re: Perl and Compatibility w/SQL dates
in thread Perl and Compatibility w/SQL dates
It would be safer/easier to write a function (either in perl or the db) to convert between the two formats, and only store one of them. I've not used mysql much, but unix_timestamp() might be useful there.
Regarding the original problem - getting thousands of lines into a project before discovering bugs like this is a good example of why writing tests as you go (or before you go in some cases) is such a sanity-saver. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Perl and Compatibility w/SQL dates
by nmerriweather (Friar) on Sep 08, 2002 at 01:39 UTC |