# etimer **Repository Path**: elyarenwer/etimer ## Basic Information - **Project Name**: etimer - **Description**: This module be used to get current datetime,date and time. 此模块用来快速获取当前日期时间,日期,时间 - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-01-09 - **Last Updated**: 2023-01-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: Nodejs, date, datetime, time ## README # ETimer Introduce This module be used to get current datetime,date and time ## Installation ``` npm install etimer ``` ## Usage ```js const etimer = require('etimer'); let current_datetime = etimer.datetime(); console.log(current_datetime);// 2023-01-01 21:02:50 ``` ## API > datetime(); get current datetime ,format with : YYYY-MM-DD HH:mm:ss --- > date(); get current date ,format with : YYYY-MM-DD --- > time(); get current datetime ,format with : HH:mm:ss --- ## License MIT © ElyarEnwer