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 8208443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:22:14+00:00 2026-06-07T09:22:14+00:00

An API defines that a date should be sent as iso8601, but we have

  • 0

An API defines that a date should be sent as iso8601, but we have a requirement to send “forever” as a date, and the standard does not seem to cover this. Can anyone suggest a better solution than Dec 31 9999? Is there a different standard that would be more appropriate?

  • 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-07T09:22:17+00:00Added an answer on June 7, 2026 at 9:22 am

    Quoting ISO 8601:2004(E):

    3.5 Expansion
    By mutual agreement of the partners in information interchange, it is permitted to expand the component
    identifying the calendar year, which is otherwise limited to four digits. This enables reference to dates and
    times in calendar years outside the range supported by complete representations, i.e. before the start of the
    year [0000] or after the end of the year [9999].

    And also relevant may be section 3.7 Mutual agreement which basically says you’re free to define your own representations as long as you don’t interfere with the representations defined in ISO 8601. So 9999-12-32 or 9999-13-00 could be mutually agreed upon for your proposed forever value.

    As to what’s common practice, I’d say it depends.

    I’d go for 3.7 whenever possible. But it’s important to assess your role within the whole set-up. E.g. if you’re using a 3rd party API within your own set of components for the sake of convenience or future compatibility, there should be no problem at all. If you’re part of a bigger system and you’d have to convince tens of other system parties/components/modules/etc. I’d say it’s not worth the trouble.

    Also very important to check legacy code. And at least sketch out a plan on how to do the migration in case it breaks set-ups beyond belief. That could be anything from documenting your API “extension” to actually sending patches to the legacy code maintainers.

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

Sidebar

Related Questions

Background The FreeLing API defines an interface that does not adhere to standard Java
Odd question, but you have to know first that Facebook API defines all the
I have recently heard about the Web Workers spec that defines API for multi-threading
I have a C API that defines an enum like so: typedef enum {
I have some JavaScript code that is supposed to run on document.ready but I
Have an IronPython package named Entities. That package contains an Entity.py file that defines
I have an assembly that provides an API and is used by some other
Using Exchange Managed ApI, I need to get all appointments that have a created
Here at work we have developed a SOAP WCF API that can be reached
Confluence soap api defines two methods with the same name but different parameters: Page

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.