mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
5 lines
129 B
TypeScript
5 lines
129 B
TypeScript
import { luxon } from './deps.ts';
|
|
|
|
const date = new Date();
|
|
const dt = luxon.DateTime.fromJSDate(date);
|
|
console.log(dt.toISO()); |