Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCrossLegCoder authored Mar 31, 2024
1 parent c403e76 commit 4cd6ccb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ nepDate.AddDays(-5); // 2081/04/27
nepDate.AddMonths(2); // 2081/06/30
nepDate.AddMonths(-2); // 2081/02/32
// Can also provide month as decimal
nepDate.AddMonths(2.5); // 2081/07/15
// When adding months, if the resulting month doesn't have the same end date as the input month,
// 'awayFromMonthEnd' option ensures adjustment away from the end of the resulting month.
nepDate.AddMonths(2, awayFromMonthEnd: true); // 2081/07/02
Expand Down

0 comments on commit 4cd6ccb

Please sign in to comment.