- 'use strict';
- var $isFinite = require('../helpers/isFinite');
- var msPerDay = require('../helpers/timeConstants').msPerDay;
- module.exports = function MakeDate(day, time) {
- if (!$isFinite(day) || !$isFinite(time)) {
- return NaN;
- }
- return (day * msPerDay) + time;
- };
|