UNPKG

xe-utils

Version:

JavaScript 函数库、工具类

10 lines (7 loc) • 488 B
import helperDateGetTime from './helperDateGetTime.js';import helperDateGetFullYear from './helperDateGetFullYear.js';import helperDateGetMonth from './helperDateGetMonth.js';import helperDateGetDate from './helperDateGetDate.js';function helperGetYMD (date) { return new Date(helperDateGetFullYear(date), helperDateGetMonth(date), helperDateGetDate(date)) } function helperGetYMDTime (date) { return helperDateGetTime(helperGetYMD(date)) } export default helperGetYMDTime