Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Javascript get date in format [duplicate]

Current License: CC BY-SA 3.0

Post Revisions

18 events
when toggle format what by license comment
Jan 23, 2020 at 20:13 history closed Heretic Monkey
Community Bot
JBGruber
Duplicate of How do I format a date in JavaScript?
Jan 23, 2020 at 19:40 review Close votes
Jan 23, 2020 at 20:13
Apr 10, 2016 at 11:34 answer added WantToDo timeline score: -3
Mar 28, 2015 at 23:38 answer added mrded timeline score: 19
Feb 1, 2015 at 4:53 comment added Nav I'd do it manually var d = new Date(); var s = new String(); s = (d.getHours()+"-"+d.getMinutes()+"-"+d.getSeconds()+" "+d.getDate()+"-"+d.getMonth()+"-"+d.getFullYear()).toString();. Reference: w3schools.com/jsref/jsref_obj_date.asp
Dec 18, 2014 at 1:30 answer added Widada timeline score: 1
Jan 8, 2014 at 13:04 answer added Porthos timeline score: -4
May 14, 2013 at 2:15 history edited kristian CC BY-SA 3.0
re-indented code, removed salutations, fixed typo
May 14, 2013 at 2:14 history suggested Mike CC BY-SA 3.0
re-indented code
May 14, 2013 at 2:10 review Suggested edits
May 14, 2013 at 2:15
Oct 8, 2012 at 16:11 answer added Bao Le timeline score: 1
Feb 8, 2011 at 4:35 vote accept Samuel Meddows
Feb 8, 2011 at 4:35 vote accept Samuel Meddows
Feb 8, 2011 at 4:35
Feb 8, 2011 at 3:54 history edited Adam CC BY-SA 2.5
added 5 characters in body
Feb 8, 2011 at 3:33 answer added RichardTheKiwi timeline score: 0
Feb 8, 2011 at 3:32 answer added Ateş Göral timeline score: 24
Feb 8, 2011 at 3:29 answer added Victor timeline score: 4
Feb 8, 2011 at 3:23 history asked Samuel Meddows CC BY-SA 2.5
toggle format

AltStyle によって変換されたページ (->オリジナル) /