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 );
--
જલધર
In reply to Re^2: Mocking time with SQLite
by jaldhar
in thread Mocking time with SQLite
by jaldhar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |