Skip to content

TimeTrait

Provides common functionality for getting the time from a time-based UUID

  • Full name: \Ramsey\Uuid\Rfc4122\TimeTrait

Methods

getDateTime

Returns a DateTimeInterface object representing the timestamp associated with the UUID

public getDateTime(): \DateTimeImmutable

Return Value:

A PHP DateTimeImmutable instance representing the timestamp of a time-based UUID



Automatically generated on 2025-03-18