Forums Register Login
Question about GregorianCalendar class

If I create a GregorianCalendar object like that:

GregorianCalendar date = new GregorianCalendar();

Are we sure that date contains the today date?
if not, how could we force the created object to contain the today date?

Best Regards
public GregorianCalendar() constructs a default GregorianCalendar using the current time in the default time zone with the default locale.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 578 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 25, 2018 12:54:03.