Welcome Guest, Not a member yet? Register   Sign In
Inserting NOW() into Database with Active Record
#4

[eluser]pmoroom[/eluser]
[quote author="jedd" date="1251523427"]The major problem with that approach is that it sets the time your database to the time that your php environment thinks it is. For many occasions this may be acceptably rough, but it's not optimal.[/quote]

Understand your point and that is why I gave him two options. His choice I suppose.


Messages In This Thread
Inserting NOW() into Database with Active Record - by El Forum - 08-28-2009, 02:37 PM
Inserting NOW() into Database with Active Record - by El Forum - 08-28-2009, 05:57 PM
Inserting NOW() into Database with Active Record - by El Forum - 08-28-2009, 06:23 PM
Inserting NOW() into Database with Active Record - by El Forum - 08-28-2009, 07:03 PM
Inserting NOW() into Database with Active Record - by El Forum - 08-28-2009, 07:39 PM
Inserting NOW() into Database with Active Record - by El Forum - 08-28-2009, 10:16 PM
Inserting NOW() into Database with Active Record - by El Forum - 08-28-2009, 11:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB