I have this date fromat:
Mon Feb 02 2015 05:18:44 GMT+0000 (UTC)
How can I reformat it to something more friendlier such as 2/2/2015
I am using javascript.
I tried using .format
and dateFormat
but they both return undefined value.
How can I do this? I don't want to use any regex please.