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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:21:32+00:00 2026-06-09T21:21:32+00:00

My application is getting a datetime value from JSON in the following format: Created

  • 0

My application is getting a datetime value from JSON in the following format:

Created
"/Date(1335232596000)/"

To show the value on the front end, I wrote a js function with the following code:

 return new Date(parseInt(date.substr(6)));

This however, shows the following:

Mon Apr 23 2012 20:56:36 GMT-0500 (Central Daylight Time)

Any suggestions on how can I get the date to display like this:

"04/23/2012 - 08:56:26pm CST" 
  • 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-09T21:21:33+00:00Added an answer on June 9, 2026 at 9:21 pm

    Use the official jQuery Globalization Plugin format method:

    Globalize.format( new Date(1955,10,5), "yyyy/MM/dd" );
    // "1955/11/05"
    Globalize.format( new Date(1955,10,5), "dddd MMMM d, yyyy" );
    // "Saturday November 5, 1955"
    

    There are a ton of date formatting options available.

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

Sidebar

Related Questions

I am getting the Unable to convert MySQL date/time value to System.DateTime error because
While switching on my camera application i am getting the following command and it
In my Eclipse 3.7 RCP Application I was getting the PreferenceStore as following: Activator.getDefault().getPreferenceStore()
While creating the setup for VB.net application I am getting the following warning: Warning
In my application,I am getting time input in a variable in string format e.g.
I'm doing a CABasicAnimation and getting the value from a nested NSMutableArray. Everything is
I am getting the following error, when I try to run my application: uninitialized
I'm developing an .NET4 webapplication using MVC3. Let's say i'm getting the following DateTime
I'm getting the following error from the following http handler. Other ashx files are
my application gets image from clipboard and saves it to server. getting image is

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.