in reply to Re: Re: Re: Re: Re: MySQL Timestamp comparison
in thread MySQL Timestamp comparison
It's kind of a tough call. What I've tried to do in my experience is to stay away from functions specific to one particular database - like UNIX_TIMESTAMP in MySQL. But many people would argue that point, especially if you want to fully take advantage of all that a particular database has to offer. My preference is to stay database independent as much as possible - this makes migration to a different database, at some point in the future, less painful :-)