MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / getTodayStartTimestamp

Function getTodayStartTimestamp

web/src/helpers/utils.js:160–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160export function getTodayStartTimestamp() {
161 var now = new Date();
162 now.setHours(0, 0, 0, 0);
163 return Math.floor(now.getTime() / 1000);
164}
165
166export function timestamp2string(timestamp) {
167 let date = new Date(timestamp * 1000);

Callers 1

LogsTable.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected