Welcome Guest, Not a member yet? Register   Sign In
insert date
#7

[eluser]Phil Sturgeon[/eluser]
Mix the two methods I have used above.

Code:
date('Y-m-d h:m:s', now());

It might be worth hacking standard_date to add a new entry in the array 'MYSQL_DATE' or something like that. Thats the other way I do it on projects where I dont mind extending helpers.


Messages In This Thread
insert date - by El Forum - 12-30-2007, 04:14 PM
insert date - by El Forum - 12-30-2007, 07:56 PM
insert date - by El Forum - 12-30-2007, 09:00 PM
insert date - by El Forum - 12-30-2007, 11:17 PM
insert date - by El Forum - 12-31-2007, 02:30 AM
insert date - by El Forum - 04-19-2008, 12:32 AM
insert date - by El Forum - 04-19-2008, 02:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB