Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Mocking time with SQLite

by jaldhar (Vicar)
on Dec 26, 2010 at 14:59 UTC ( #879216=note: print w/replies, xml ) Need Help??


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 );

--
જલધર

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://879216]
help
Chatterbox?
[choroba]: Hermit
[haukex]: Ah I see... looks like "under construction" or something :-)
[Discipulus]: covfefe.. ? ;=)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2018-06-22 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (122 votes). Check out past polls.

    Notices?