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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:37:50+00:00 2026-06-02T09:37:50+00:00

I am building an API that needs a date and I want to represent

  • 0

I am building an API that needs a date and I want to represent it using the Epoch.

Since I am developing in C# in .NET the ticks is an easy representation (100 nanosecods).
However, I need also to cater to implementors of the API in other programming languages.

Is the concept of Ticks used other than in C#? Should I go back to milliseconds since Epoch so the API is not designed too much with a .net flavor?

I know how to do the conversions, but I am looking for what makes more sense. My goal is to make the representation of dates easy for any programmer in all languages that may implement this API.

Thanks,

  • 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-02T09:37:51+00:00Added an answer on June 2, 2026 at 9:37 am

    Whether you choose to use XML in your API or not, the standard defined in the XML Schema Part 2: Datatypes Second Edition is a pretty safe bet. See section 3.2.7, advising a specific version of one of the many ISO-8601 formats.

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

Sidebar

Related Questions

I'm building a REST API, but I've encountered a problem. It seems that accepted
I'm building an application that uses an elaborate API to fetch data from Youtube,
I am building an app that uses the fine Urban Airship api to send
I'm building a simple appliacation using the Google Maps API and I'm trying to
I'm building an API using PHP. What do I need to do to recognize
In a system that I'm building I want to serve Static files (static HTML
I'm building a form in Drupal that needs to submit to a 3rd party
I am building an application which needs to call a certain API at specific
I'm building a REST API that exposes data as XML. I've got a whole
I'm building an application that needs to use the Linux group keyring to share

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.