Class **Phalcon\\Mvc\\Model\\Behavior\\Timestampable** ====================================================== *extends* abstract class :doc:`Phalcon\\Mvc\\Model\\Behavior ` *implements* :doc:`Phalcon\\Mvc\\Model\\BehaviorInterface ` .. role:: raw-html(raw) :format: html :raw-html:`Source on GitHub` Allows to automatically update a model’s attribute saving the datetime when a record is created or updated Methods ------- public **notify** (*mixed* $type, :doc:`Phalcon\\Mvc\\ModelInterface ` $model) Listens for notifications from the models manager public **__construct** ([*array* $options]) inherited from :doc:`Phalcon\\Mvc\\Model\\Behavior ` Phalcon\\Mvc\\Model\\Behavior protected **mustTakeAction** (*mixed* $eventName) inherited from :doc:`Phalcon\\Mvc\\Model\\Behavior ` Checks whether the behavior must take action on certain event protected *array* **getOptions** ([*string* $eventName]) inherited from :doc:`Phalcon\\Mvc\\Model\\Behavior ` Returns the behavior options related to an event public **missingMethod** (:doc:`Phalcon\\Mvc\\ModelInterface ` $model, *string* $method, [*array* $arguments]) inherited from :doc:`Phalcon\\Mvc\\Model\\Behavior ` Acts as fallbacks when a missing method is called on the model