Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Cookie.php

Cookie::DATE_FORMATS

Handles dates as defined by RFC 2616 section 3.3.1, and also some other non-standard, but common formats.

File

vendor/symfony/browser-kit/Cookie.php, line 28

Class

Cookie
Cookie represents an HTTP cookie.

Namespace

Symfony\Component\BrowserKit

Code

private const DATE_FORMATS = [
    'D, d M Y H:i:s T',
    'D, d-M-y H:i:s T',
    'D, d-M-Y H:i:s T',
    'D, d-m-y H:i:s T',
    'D, d-m-Y H:i:s T',
    'D M j G:i:s Y',
    'D M d H:i:s Y T',
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal