Date/Time Functions

  1. checkdate()
  2. date_default_timezone_get()
  3. date_default_timezone_set()
  4. date_sunrise()
  5. date_sunset()
  6. date()
  7. getdate()
  8. gettimeofday()
  9. gmdate()
  10. gmmktime()
  11. gmstrftime()
  12. idate()
  13. localtime()
  14. microtime()
  15. mktime()
  16. strftime()
  17. strptime()
  18. strtotime()
  19. time()

Date/Time Constants

DATE_ATOM

Atom (example: 2005-08-15T16:13:03+0000)

DATE_COOKIE

HTTP Cookies (example: Sun, 14 Aug 2005 16:13:03 UTC)

DATE_ISO8601

ISO-8601 (example: 2005-08-14T16:13:03+0000)

DATE_RFC822

RFC 822 (example: Sun, 14 Aug 2005 16:13:03 UTC)

DATE_RFC850

RFC 850 (example: Sunday, 14-Aug-05 16:13:03 UTC)

DATE_RFC1036

RFC 1036 (example: Sunday, 14-Aug-05 16:13:03 UTC)

DATE_RFC1123

RFC 1123 (example: Sun, 14 Aug 2005 16:13:03 UTC)

DATE_RFC2822

RFC 2822 (Sun, 14 Aug 2005 16:13:03 +0000)

DATE_RSS

RSS (Sun, 14 Aug 2005 16:13:03 UTC)

DATE_W3C

World Wide Web Consortium (example: 2005-08-14T16:13:03+0000)

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *