Closed (won't fix)
Project:
Date
Version:
6.x-2.4
Component:
Date API
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2009 at 17:12 UTC
Updated:
22 Dec 2011 at 14:06 UTC
Hi,
I'm having trouble to set the current timestamp on a Datetime field using a module.
I'm problably doing this the wrong way...
on a button I have a function with
$form_state['values']['field_Conclusion'] = array( array( 'value' => strtotime("now")) );
the only thing that this save on the DB is "0000-00-00 00:00:00"
Comments
Comment #1
michaelrbk commentedDoes anybody have any ideia ?
I try the date_now() too and I have the same result..
Comment #2
arlinsandbulte commentedHi,
I am just indiscriminately closing all support requests with no activity for more than 1 year.
If you consider this to still be a valid issue / support request, feel free to re-open.
BUT,
if you are re-opening this issue, please provide specific details on how this issue can move forward.
Thanks.