Horje
how to make a single digit date start with zero Code Example
how to make a single digit date start with zero
const today = new Date()

const year = today.getFullYear()

const month = `${today.getMonth() + 1}`.padStart(2, "0")

const day = `${today.getDate()}`.padStart(2, "0")

const stringDate = [day, month, year].join("/") // 13/12/2017




Shell

Related
list usb devices Code Example list usb devices Code Example
bash multiplication of arguments Code Example bash multiplication of arguments Code Example
powershell decompress zip Code Example powershell decompress zip Code Example
get docker script Code Example get docker script Code Example
scan for unused ports linux Code Example scan for unused ports linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8