0

The input that am giving for my javascript function is

`Wed Jul 30 2014 11:34:00 GMT+0530 (India Standard Time)`

the fucntion that need to return this in to my needed fomat i.e

 July 30 2014 11:34 AM

How can i achieve this?

jmj
  • 237,923
  • 42
  • 401
  • 438
user3860909
  • 77
  • 1
  • 8
  • http://jsfiddle.net/5jHqU/8/ – Umesh Sehta Jul 28 '14 at 06:20
  • checkout Date object methods. You can create any format according to you. http://www.w3schools.com/jsref/jsref_obj_date.asp https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date – Rahul Jain Jul 28 '14 at 06:25

1 Answers1

0

Maybe Moment.js helps you? Check this answer

Community
  • 1
  • 1
user3611630
  • 137
  • 7