Skip to main content
gamedev.net
🔒 Locked

[java] Date calculations

Started by nerak 2 replies 250+ views
Original Post
nerak
nerak
Does anyone know about a library or functions, where one can make operations with dates. For example: How many months there are between two dates. How many days there are between two dates. Thank you
Neophyte
Neophyte
Have a look at java.util.Calendar.

-Neophyte
NuffSaid
NuffSaid
How does Calendar solve anything? AFAIK it doesn''t provide an easy way of finding the difference between 2 dates.
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Sully
Sully
java.util.GregorianCalendar would be better.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.