1.1.5 • Published 2 years ago

sundate v1.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Installation

npm install sundate@latest -g

Examples for use

Get a custom time date

import Sundate from "sundate"
 let sundate = new Sundate(1712941445900)
 console.log(sundate.show(false)) // show gregorian like : [1403 , 1 , 1]
 console.log(sundate.show(true)) // show shamsi like : [2024 , 3 , 13]

Get Currently Date

import Sundate from "sundate"
 let sundate = new Sundate()
 console.log(sundate.now(false)) // show gregorian like : [1403 , 1 , 1]
 console.log(sundate.now(true)) // show shamsi like : [2024 , 3 , 13]

Report Bug

https://github.com/Armnajafi/sundate/issues

1.1.5

2 years ago

1.1.4

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.1

4 years ago

1.0.0

4 years ago