http://www.perlmonks.org?node_id=879216


in reply to Re: Mocking time with SQLite
in thread Mocking time with SQLite

Yet another update. It's CURRENT_TIMESTAMP (I left out the underscore.) Now this works:

dbh->sqlite_create_function( 'CURRENT_TIMESTAMP', 0, \&my_fake_time );

--
જલધર