1.1.5 • Published 24 days ago

sundate v1.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
24 days 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

24 days ago

1.1.4

24 days ago

1.1.1

28 days ago

1.1.0

28 days ago

1.1.3

28 days ago

1.1.2

28 days ago

1.0.1

2 years ago

1.0.0

2 years ago