MCPcopy Create free account
hub / github.com/curiores/SerialAnalyzer / getTruncatedDateString

Function getTruncatedDateString

src/Utils/DataRecording.js:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4const { ipcRenderer } = window.require('electron');
5
6function getTruncatedDateString(){
7 let date = new Date();
8 let isoDateString = date.toISOString();
9 let dateString = isoDateString.substring(0,10);
10 return dateString;
11}
12
13function getOutputFilename(index){
14 let dateTimeString = getTruncatedDateString();

Callers 1

getOutputFilenameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected