in reply to Re: Mocking time with SQLitein 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 ); [download]
-- જલધર