type == 'event') { $e = $node->event; $s = $e['start_exploded']; //$node = node_load($node); //drupal_set_message(var_export($node)); $node->field_event_datetime[0]['value'] = strtotime($s['year']."-".$s['month']."-".$s['day']); $node->created = strtotime($s['year']."-".$s['month']."-".$s['day']); //node_save($node); //drupal_set_message($node->field_event_datetime[0]['value']); } break; } } ?>