Hi all again!
I began to make a program for a library that uses Date variables. I found out that the Date type is being deprecated as my compiler says. Si I'm updating it to Calendar.
But I have a few questions:
1. Can I translate a String to a Calendar?
2. Can I know the difference (in days) between to Calendar variables?
3. Can I display a Calendar as "07/09/04" instead of "Thu Aug 19 18:07:00 CEST 2004"?
As an example, if I rent a book on 29th, August 2004 and today is 4th, September 2004... is there a way to get 6 days? In all operations I'd like to bypass the time, only working with the date.
Thanks as always!