Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord & inserting dates
#3

[eluser]Macros[/eluser]
Ah, scratch this thread. I think I was getting caught up in details.

The SQL timestamp format is: {ts'2008-07-02 00:05:00'} which is an SQL date type;

but, '2008-07-02 00:05:00' (type: string) seems to also be accepted by most/all databases.


Messages In This Thread
ActiveRecord & inserting dates - by El Forum - 07-01-2008, 05:02 AM
ActiveRecord & inserting dates - by El Forum - 07-01-2008, 05:42 AM
ActiveRecord & inserting dates - by El Forum - 07-01-2008, 06:31 AM
ActiveRecord & inserting dates - by El Forum - 07-01-2008, 06:35 AM
ActiveRecord & inserting dates - by El Forum - 07-01-2008, 06:48 AM
ActiveRecord & inserting dates - by El Forum - 07-08-2008, 07:44 PM
ActiveRecord & inserting dates - by El Forum - 07-09-2008, 12:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB