S
ShaggyMoose
I want to apply an array of arguments against the Date constructor to
set a specific date/time. I can't seem to find the syntax to do this.
Using eval to expand the array into seperate arguments for "new" feels
dirty. Is this possible?
eg. Date.apply(?, myArgs);
set a specific date/time. I can't seem to find the syntax to do this.
Using eval to expand the array into seperate arguments for "new" feels
dirty. Is this possible?
eg. Date.apply(?, myArgs);