Skip to content

Instantly share code, notes, and snippets.

View Nethanos's full-sized avatar
👾

Adeildo Neto Nethanos

👾
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nethanos on github.
  • I am nethanos (https://keybase.io/nethanos) on keybase.
  • I have a public key ASAiEChqTN_SJFy-Zi7zjA92eDN4CjM8kIFkAFtITGJCNAo

To claim this, I am signing this object:

@Nethanos
Nethanos / DateConverted.ts
Last active November 12, 2020 00:24
Transform milisseconds in a day, hour, minute or second in Typescript!
/**
* This code was originally implemented by @fargolas in pure JS https://gist.github.com/flangofas/714f401b63a1c3d84aaa
*
* This is a typescript adapted to project version.
*/
export interface DateConverted {
days: number,
hours: number,
minutes: number,