isValidTimestamp() isValidTimestamp(mixed $ts) : boolean Determine if a value is a valid timestamp Parameters mixed $ts Timestamp/string to check Returns boolean
toDateTime() toDateTime(mixed $ts, $format = null) : \Carbon\Carbon Parse string or int as a Carbon/DateTime object Parameters mixed $ts Timestamp or string $format Throws \Ceo\Core\Util\Exception If unable to parse timestamp as string or int Returns \Carbon\Carbon