xe-utils
Version:
JavaScript 函数库、工具类
6 lines (4 loc) • 356 B
JavaScript
import helperDateGetFullYear from './helperDateGetFullYear.js';import helperDateGetMonth from './helperDateGetMonth.js';import helperDateGetDate from './helperDateGetDate.js';function helperGetUTCDateTime (date) {
return Date.UTC(helperDateGetFullYear(date), helperDateGetMonth(date), helperDateGetDate(date))
}
export default helperGetUTCDateTime