Q:

How to parse date into the array?

11.06.2012 17:40

All what I need it's to put in array values
mydate.day = 11;
mydate.month = 6;
mydate.year = 2012;
mydate.hours = 17;
mydate.minutes = 40;

A:

"11.06.2012 17:40".split(/[.: ]/).map(Number);
//[11, 6, 2012, 17, 40]

