MCPcopy Create free account
hub / github.com/OpenSignLabs/OpenSign / getDate

Function getDate

apps/OpenSign/src/constant/Utils.js:461–467  ·  view source on GitHub ↗
(dateformat)

Source from the content-addressed store, hash-verified

459];
460
461export const getDate = (dateformat) => {
462 const format = dateformat || "MM/DD/YYYY";
463 const date = new Date();
464 const milliseconds = date.getTime();
465 const newDate = moment(milliseconds).format(format);
466 return newDate;
467};
468
469export const selectFormat = (data) => {
470 switch (data) {

Callers 1

getWidgetValueFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected