Skip to content

Commit

Permalink
Update sjp.js kali date
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayPrabhakaran authored Aug 16, 2024
1 parent b2b9814 commit e2ad54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SJPv6/www/sjp.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Date.prototype.getAhargana = function(){
return Math.ceil(this / 86400000+1852121);
}
Date.prototype.getKaliAbda=function(){
KaliYear = this.getFullYear()+3101;
KaliYear = this.getFullYear()+3102;
BeforeApr14 = (this.getMonth()*31+this.getDate())>104?0:1; //Jan to April 14th (31+28+31+14 = 104 days )
KaliYear = KaliYear-BeforeApr14;
return KaliYear;
Expand Down

0 comments on commit e2ad54d

Please sign in to comment.