Question: I have these variables: (not literally, but this is what I obtain from a datepicker)

```
var StartMonth = "April";
var StartDate = "21";
var CurrentStartTime = "2"; 
var CurrentEndTime = "5";
var Startampm = "PM"; //corresponds to the CurrentStartTime
var Endampm = "PM"; //corresponds to the CurrentEndTime

```

I need to convert these variables to a single variable, milliseconds since 1970.

Answer: 
Simply make use of implicit conversions like this:

```
+new Date()

```
Convert them to a date using *new Date(args)*, then use *Date.prototype.getTime*, or just convert the date to a number. It's all in ECMA-262 §15.9.