JavaScript date and time parsing

Discussion in 'Javascript' started by maflatoun@gmail.com, Apr 7, 2006.

  1. Guest

    Hi,

    I have the following Date and Time format (taken from C#. NET's DataSet
    and sent to clients browser using Ajax).

    Thu Apr 6 20:43:59 EDT 2006

    What's the easiest way to parse this? (change it to a javascript date)

    Thanks
    Maz.
     
    , Apr 7, 2006
    #1
    1. Advertising

  2. wrote:

    > I have the following Date and Time format (taken from C#. NET's DataSet
    > and sent to clients browser using Ajax).
    >
    > Thu Apr 6 20:43:59 EDT 2006
    >
    > What's the easiest way to parse this? (change it to a javascript date)


    var d = new Date("Thu Apr 6 20:43:59 EDT 2006");


    PointedEars
     
    Thomas 'PointedEars' Lahn, Apr 7, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    1
    Views:
    631
    Matthew Speed
    Nov 8, 2003
  2. Chris Berg
    Replies:
    0
    Views:
    830
    Chris Berg
    Oct 27, 2003
  3. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,333
    Michael Borgwardt
    May 30, 2004
  4. Keith Cochrane
    Replies:
    2
    Views:
    637
    Keith Cochrane
    Aug 6, 2006
  5. Summu82
    Replies:
    5
    Views:
    892
    Richard Heathfield
    Jun 7, 2006
Loading...

Share This Page