hetzner-cloud-php-sdk
hetzner-cloud-php-sdk copied to clipboard
Adding getCreatedDateTime()
What about a convenience function that returns a \DateTime out of the box?
Hey @ThomasLandauer,
i like the idea! :) Maybe we should make it a trait, as all resources have at least a created and an updated timestamp (some resources have a bit more).
Yeah, even better! But I have to little overview for this, so you'd need to set it up.
It is basically everywhere created & updated. Only images also contain a deprecated and a deleted timestamp :)