Instantly share code, notes, and snippets.
Para acceder al valor de un campo field_date:
$timestamp = $node->field_date->date->getTimestamp();