anxiao_web/pages/newIntelligenceEarlyWarning/js/time.js

10 lines
268 B
JavaScript
Raw Permalink Normal View History

2024-07-24 09:22:32 +08:00
import { getCurrData } from "../../../public/js/timestamp.js";
function getTime(){
var endTimestamp=getCurrData();
var startTime=endTimestamp+" 00:00:00";
var endTime=endTimestamp+" 23:59:59";
return {
startTime,endTime
}
}
export {getTime}