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

michaelrbk’s picture

Does anybody have any ideia ?

I try the date_now() too and I have the same result..

arlinsandbulte’s picture

Status: Active » Closed (won't fix)

Hi,
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.