10 lines
268 B
JavaScript
10 lines
268 B
JavaScript
|
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}
|