daytime

combine two Date objects, "day" and "time", into a new Date object

#node-daytime

npm module to combine two Date objects, "day" and "time", into a new Date object

var daytime = require('daytime');
var day = new Date('11/11/2013');
var time = new Date('11/11/1111 11:11');
var expected = new Date('11/11/2013 11:11');
 
assert.equal(daytime(day, time), expected);

Simply clone the repo, npm install, and run npm test