This site requires JavaScript, please enable it in your browser!
Greenfoot back

MatheMagician's Comments

Back to MatheMagician's profile

Yeah, I really like my for loops and my arrays:)
Is it working for you though?
You must first login.
If you use Calendar() (which has very similar code to Date()), you will not have a problem. I use Calendar in my tank game and it works perfectly as far as I can tell. All you need to use it is import java.util.Calendar; and the create a new date object: Calendar today = Calendar.getInstance(); and then you can access something, like what hour it is this way: int hour = today.get(Calendar.HOUR);
I am happy it was helpful to you. Um, could you please press the like button, though?
2000 view. Though I refreshed the page twice to reach that nice even number.
I believe he made it inaccurate on purpose to make it more challenging.
But I'm still waiting on the source.
Not bad.