---
title: "Discussion on \"Java Calendar Date and Time tips\" | Hashnode"
description: "Discussion on \"Java Calendar Date and Time tips\". Adding some utilities concerning Java date-related objects\nFinding the number of months between two dates\nimport java.util.GregorianCalendar;\nimport java.util.Calendar;\n\npublic static int numberOfMonthsBetween(Date start, Date end){\n    Calendar star..."
url: "https://hashnode.com/posts/java-calendar-date-and-time-tips/6537f504a5d9bbe2da7d1462"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Java Calendar Date and Time tips](https://intfloatandwhatnot.hashnode.dev/java-calendar-date-and-time-tips?utm_source=hashnode&utm_medium=feed)

Adding some utilities concerning Java date-related objects Finding the number of months between two dates import java.util.GregorianCalendar; import java.util.Calendar; public static int numberOfMonthsBetween(Date start, Date end){ Calendar star...

Oct 24, 2023 · 1 min read · intfloatandwhatnot.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#date](https://hashnode.com/tag/date)
-   [#calendar](https://hashnode.com/tag/calendar)
-   [#utilities](https://hashnode.com/tag/utilities)

## Written by

[prettyprint](https://hashnode.com/@intfloatandwhatnot)

@intfloatandwhatnot · Bangalore, India

  
[View profile](https://hashnode.com/@intfloatandwhatnot)

Everything about coding, building, deploying and of course the aftermath, infinite ranting

I am an application developer from bangalore who have been coding in java for around 6 years , python for around 1year and scala for around two years. Along the lines got into a little love triangle with javascript /extjs/css as well and after the break up I am missing them :) .

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
