MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / getCurrentTimeFormatted

Function getCurrentTimeFormatted

app/hooks/useJsonSearch.tsx:164–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162}
163
164const getCurrentTimeFormatted = () => {
165 const currentTime = new Date();
166 const hours = currentTime.getHours();
167 const minutes = currentTime.getMinutes();
168 const seconds = currentTime.getSeconds();
169 const milliseconds = currentTime.getMilliseconds();
170 return `${hours}:${minutes}:${seconds}.${milliseconds}`;
171};
172
173export function JsonSearchProvider({
174 children,

Callers 1

wrapReducerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected