Recommend this page to a friend! |
Classes of Eric Sizemore | Utility | docs/dates.md | Download |
|
DownloadDates
timeDifferenceFormats the difference between two timestamps to be human-readable.
timezoneInfoRetrieves information about a timezone.
validTimezoneDetermines if a given timezone is valid, according to PHP's Timezone List
validateTimestampDetermines if a given timestamp matches the valid range that is typically found in a unix timestamp (at least in PHP). Typically, a timestamp for PHP can be valid if it is either 0 or between 8 and 11 digits in length.
|