Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

date format in typescript

#Installation
$ npm install dateformat

#Usage
var dateFormat = require("dateformat");
var now = new Date();
var today = dateFormat(now, "yyyy-mm-dd");
 
PREVIOUS NEXT
Tagged: #date #format #typescript
ADD COMMENT
Topic
Name
8+9 =