diff --git a/src/Models/Images/Image.php b/src/Models/Images/Image.php index f0da687..f54a7d6 100644 --- a/src/Models/Images/Image.php +++ b/src/Models/Images/Image.php @@ -224,4 +224,9 @@ public function reload() { return HetznerAPIClient::$instance->images()->get($this->id); } + + public function getCreatedDateTime() + { + return new \DateTime($this->created); + } }