Skip to content

Commit

Permalink
README.md updated for new function
Browse files Browse the repository at this point in the history
  • Loading branch information
ARTM2000 authored and behrang committed Jul 10, 2021
1 parent 9bfa6ec commit 264d54c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ Calculates Gregorian and Julian calendar dates from the Julian Day number (jdn)
jalaali.d2g(2457490) // { gy: 2016, gm: 4, gd: 11 }
```

### jalaaliToDateObject(jy, jm, jd)

Convert Jalaali calendar date to javascript Date object by giving Jalaali year, month, and day.

```js
jalaali.jalaaliToDateObject(1400, 4, 30) // new Date(2021, 6, 21)
```

## License

MIT

0 comments on commit 264d54c

Please sign in to comment.