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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:27:31+00:00 2026-05-29T05:27:31+00:00

I am working with JavaScript date’s being returned from ASP.net which is of course

  • 0

I am working with JavaScript date’s being returned from ASP.net which is of course that really strange /Date(1328261701393)/ thing.

So I am parsing it out and doing…

var date = new Date(1328261701393);
console.log(date.toString()) // Fri Feb 03 2012 03:35:01 GMT-0600 (Central Standard Time)

When I change my system clock to EST, I get…

Fri Feb 03 2012 04:35:01 GMT-0500 (US Eastern Standard Time)

I THINK I understand why this is, but I am not entirely sure…

Also, I noticed that when I pass in an actual date string like…

console.log(new Date("2/1/2012 2:45:53 PM").toString());

I get the same time on both EST and CST…

Wed Feb 01 2012 14:45:53 GMT-0600 (Central Standard Time)
Wed Feb 01 2012 14:45:53 GMT-0500 (US Eastern Standard Time)

This all sort of makes sense, I was just looking for the WHY?

  • 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-29T05:27:31+00:00Added an answer on May 29, 2026 at 5:27 am

    Javascript gives the time as per time zone of the browser. So, when you change your system clock, the time difference between your machine time and GMT changes. This difference is appearing in figures after GMT

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

Sidebar

Related Questions

I'm currently working on a JavaScript tool that, during the course of its execution,
I'm working on a javascript app that does a lot of Date arithmetic, and
I need JavaScript working almost perfectly in my application that should be able to
I'm working on a JavaScript image resizing feature which rely on the IE only
I am working on a javascript app that users load via a configurable script
I am working on a JavaScript utility that tells the user the number of
I am working on a Javascript object that contains some YUI objects. The key
http://jsbin.com/izupek/edit#javascript,html all 3 examples are working and parsing my date. Ive read in https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/parse
i used basic date picker in asp.net mvc and it works fine but now
I am trying to get a date picker working and I am really struggling

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.