Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayPrabhakaran committed Aug 20, 2024
2 parents 8fd0b73 + e2ad54d commit dc9eaf8
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 dc9eaf8

Please sign in to comment.