well, what I said is that when I enter at the commandline 2011-09-19 12:30:01 (i.e. not localtime), then in the table it gets inserted as 2011-09-19 00:00:00 instead of 2011-09-19 12:30:01
which I want it to insert.
of course strftime works, but that only gives me current date and time...I want to enter past date and time. hope that clarifies