mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2026-03-25 23:03:04 +00:00
17 lines
314 B
TypeScript
17 lines
314 B
TypeScript
import { export_json_to_excel } from "./export2excel";
|
|
|
|
function currentDate() {
|
|
const d: Date = new Date();
|
|
|
|
return {
|
|
year: d.getFullYear(),
|
|
month: d.getMonth() + 1,
|
|
day: d.getDate(),
|
|
hour: d.getHours(),
|
|
minu: d.getMinutes(),
|
|
sec: d.getSeconds()
|
|
};
|
|
}
|
|
|
|
export { export_json_to_excel, currentDate };
|