azdate
v1.0.1
Published
helper module to generate and convert persian / miladi dates
Downloads
2
Readme
##azdate
azdate v1.0.1
azdate , is a JavaScript to generate and convert persian / miladi dates
##Usage
##Node.JS
install :
use npm npm install azdate
var azdate = require('azdate');
console.log(azdate.get_current_persian_date());// 1398/09/04
console.log(azdate.get_current_persian_datetime());// 1398/09/04 09:05:51
console.log(azdate.persianDate());// 1398/09/04
console.log(azdate.persianDateTime());// 1398/09/04 09:05:51
console.log(azdate.miladiDate());// 1398/09/04 09:05:51
console.log(azdate.miladiDateTime());// 1398/09/04 09:05:51
console.log(azdate.shamsi('2019/10/25'));
console.log(azdate.shamsi('2019/10/25 09:24:31'));
console.log(azdate.miladi('1398/09/04'));
console.log(azdate.miladi('1398/09/04 09:05:51'));
##Author
Ali Zolfaghar [GMail : AZolfaghar]
Copyright (c) 2019 Ali Zolfaghar
http://azr.ir/
##changes: ver 1.0.1 :
##License
Licensed under the MIT Style License