XP is just a number | |
PerlMonks |
Re: Testing and database date functionsby RiotTown (Scribe) |
on Dec 09, 2004 at 22:19 UTC ( [id://413703]=note: print w/replies, xml ) | Need Help?? |
Not sure if it is a viable option or not, but you could always just change the date on the database server. I've done that in the past for applications that make heavy use of SYSDATE (or their related friends) functions.
Althought this doesn't work well if you are testing against a production db...
In Section
Seekers of Perl Wisdom
|
|