- Language
- String / Number
- AWT
- Swing
- Environment
- IO
- JS interaction
- JDBC
- Thread
- Networking
- JSP / Servlet
- XML / RSS / JSON
- Localization
- Security
- JNI / JNA
- Date / Time
- Open Source
- Varia
- BigIndex
- Download
- TS2068, Sinclair QL Archives
- Real's HowTo FAQ
- Donate!
- Funny 1
- Funny 2
- Funny 3
- Funny 4
- One line
- Ascii Art
- Deprecated (old stuff)
Date and Time HowTo
chevron_rightHave year on 4 digits from a Date object
chevron_rightGet the current Date and Time
chevron_rightCompute days between 2 dates
chevron_rightGet the number of days in a month
chevron_rightValidate a date
chevron_rightDetermine the day of the week
chevron_rightAdd/Substract Day/Month/Year to a Date
chevron_rightGet the correct TimeZone on DateFormat
chevron_rightSimply format a date as "YYYYMMDD"
chevron_rightCompare 2 dates
chevron_rightParse a String to obtain a Date/GregorianCalendar object
chevron_rightUse System time to generate unique ID
chevron_rightGet the day name
chevron_rightFind the date format pattern
chevron_rightGet a julian date
chevron_rightCalculate the age
chevron_rightFormat a duration in milliseconds into a human-readable format
chevron_rightGet the atomic time
chevron_rightGet a date interval
chevron_rightDetermine if a given hour is between an interval
chevron_rightSet the computer clock (JNI)
chevron_rightGet unique numerical id based on the system time
chevron_rightGet the month (or day) name (localized)
chevron_rightDetect a leap year
chevron_rightGet current quarter of the year
chevron_rightGet the current Date and Time
chevron_rightCompute days between 2 dates
chevron_rightGet the number of days in a month
chevron_rightValidate a date
chevron_rightDetermine the day of the week
chevron_rightAdd/Substract Day/Month/Year to a Date
chevron_rightGet the correct TimeZone on DateFormat
chevron_rightSimply format a date as "YYYYMMDD"
chevron_rightCompare 2 dates
chevron_rightParse a String to obtain a Date/GregorianCalendar object
chevron_rightUse System time to generate unique ID
chevron_rightGet the day name
chevron_rightFind the date format pattern
chevron_rightGet a julian date
chevron_rightCalculate the age
chevron_rightFormat a duration in milliseconds into a human-readable format
chevron_rightGet the atomic time
chevron_rightGet a date interval
chevron_rightDetermine if a given hour is between an interval
chevron_rightSet the computer clock (JNI)
chevron_rightGet unique numerical id based on the system time
chevron_rightGet the month (or day) name (localized)
chevron_rightDetect a leap year
chevron_rightGet current quarter of the year