Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8632175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:18:58+00:00 2026-06-12T09:18:58+00:00

This is out of curiosity rather than because I need to know it at

  • 0

This is out of curiosity rather than because I need to know it at this point, but in the PHP manual, they’re identical; I can’t see the reason that there are two different data formats for the same thing.

http://php.net/manual/en/class.datetime.php

const string RFC1123 = "D, d M Y H:i:s O" ;
const string RFC2822 = "D, d M Y H:i:s O" ;

Any clue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T09:18:59+00:00Added an answer on June 12, 2026 at 9:18 am

    RFC1123 is “Requirements for Internet Hosts – Application and Support”, October 1989

    RFC2822 is “Internet Message Format”, April 2001

    Think of RFC1123 as a parent to RFC2822. It references RFC2822 as the appropriate spec for date/time, which are as follows:

    3.3. Date and Time Specification

    Date and time occur in several header fields. This section
    specifies the syntax for a full date and time specification.
    Though folding white space is permitted throughout the date-time
    specification, it is RECOMMENDED that a single space be used in
    each place that FWS appears (whether it is required or optional);
    some older implementations may not interpret other occurrences of
    folding white space correctly.

    date-time = [ day-of-week “,” ] date FWS time [CFWS]

    day-of-week = ([FWS] day-name) / obs-day-of-week

    day-name = “Mon” / “Tue” / “Wed” / “Thu” /
    “Fri” / “Sat” / “Sun”

    date = day month year

    year = 4*DIGIT / obs-year

    month = (FWS month-name FWS) / obs-month

    month-name = “Jan” / “Feb” / “Mar” / “Apr” /
    “May” / “Jun” / “Jul” / “Aug” /
    “Sep” / “Oct” / “Nov” / “Dec”

    day = ([FWS] 1*2DIGIT) / obs-day

    time = time-of-day FWS zone

    time-of-day = hour “:” minute [ “:” second ]

    hour = 2DIGIT / obs-hour

    minute = 2DIGIT / obs-minute

    second = 2DIGIT / obs-second

    zone = (( “+” / “-” ) 4DIGIT) / obs-zone

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm asking this out of curiosity rather than due to a real need to
This is a question more out of curiosity rather than being stuck. I know
This question might not seem very technical but, out of curiosity,I want to know
I know this is a stupid question. But just out of curiosity, is there
Out of curiosity I'm wondering if I can do something about this because I'm
This is more out of curiosity and for future reference than anything, but how
This question is asked out of curiousity rather than any urgent need. I found
...before everything, I'm doing this out of curiosity only. Nothing real-world application here, but
This question is mostly academic. I ask out of curiosity, not because this poses
I'm just asking this out of curiosity : Is there any tool that can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.