Gr 11 – Date Time

Everything you need to know about time and date contained in 17 Java mini example programs. How to create date-time objects, and how to do date-time calcultions. The text file contains  the method analysis tables for each method used. Sorting with the bubble sort...

Gr 12 – Date/time format

There are times when you need to present a stored value in a different format . . .  Real number example –  8.987578. Here you may prefer to say 8.99 Date example – “2018-1-1”. Here you may prefer to say “1 January 2018” Java has a...

Gr 11 – Date and time

We can use String for simple date-time tasks ie 23/05/2021 – we can use String methods like substring to extract information like date, month and year. When we need the current data and time from the system clock, or we need to do date/time arithmetic, we need...