MCPcopy Create free account
hub / github.com/dunky11/react-saas-template / unixToDateString

Function unixToDateString

src/shared/functions/unixToDateString.js:1–6  ·  view source on GitHub ↗
(unix)

Source from the content-addressed store, hash-verified

1function unixToDateString(unix) {
2 const date = new Date(unix * 1000);
3 return (
4 `${date.getDate()}.${date.getMonth() + 1}.${date.getFullYear()}`
5 );
6}
7
8export default unixToDateString;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected