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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:29:15+00:00 2026-05-30T20:29:15+00:00

I have date data being returned from a server in the following format through

  • 0

I have date data being returned from a server in the following format through JSON

/Date(1139443200000)/

If I try to display this on a web browser using the following code snippet:

success: function( rows ) {
    if( rows.d[0] ) {
        $.each( rows.d, function( index, row ) {
            $("div").append( row.OpenDate );

the date gets displayed on the screen like this:

/Date(1139443200000)/

How do I format this to display like this

09-02-2006

and

09-02-2006 - 00:00
  • 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-05-30T20:29:16+00:00Added an answer on May 30, 2026 at 8:29 pm

    this can help you :

      var dateString = 1139443200000;   
        var myDate = new Date(dateString);
    
        document.write("Day of Weak: "+(myDate.getDay()+1));
        document.write("<br>");
        document.write("Month : " + (myDate.getMonth()+1));
        document.write("<br>");
        document.write("Year : " + myDate.getFullYear()); 
    

    output :

    Day of Weak: 5
    Month : 2
    Year : 2006
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following data being returned from a query. Essentially I am putting
A] Problem summary: I have JSON data being returned from python to javascript. I
I have the following JSON data being returned by a webservice: {d:[ {RelationshipManager:{},AdvisoryId:13,ClientId:22,UserId:13,AdvisoryMessage:Welcome!,Seen:false,Issued:\/Date(1312123970110)\/,Delivered:null,Importance:3}, {RelationshipManager:{},AdvisoryId:14,ClientId:22,UserId:13,AdvisoryMessage:A
I have data in an MYSQL database that looks like this: Project Date Time
I have a table of data sorted by date, from which a user can
I have the following data | Item | Value | Date | ------------------------------ |
I have some data, like this: BUG DATE STATUS ---- ---------------------- -------- 9012 18/03/2008
I have a table with the following data: id | numbers | date ----------------------------------
I have a set of data being returned to a table using PHP and
I have this code which extracts data from a csv file and then reformats

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.