| 1 | How do you create a Date object representing the current moment? JavaScript › Date, Time & Internationalization (Intl API) | JavaScript | Date, Time & Internationalization (Intl API) | Beginner |
| 2 | Why is Date.parse() considered unreliable for parsing date strings? JavaScript › Date, Time & Internationalization (Intl API) | JavaScript | Date, Time & Internationalization (Intl API) | Beginner |
| 3 | Why was the modern java.time API (introduced in Java 8) created to replace the legacy Date and Calendar classes, and what specific problems did the old classes have? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Beginner |
| 4 | How would you get the current date and time, and how does specifying an explicit ZoneId (versus relying on the system default) affect the result of LocalDate.now() or LocalDateTime.now()? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Beginner |
| 5 | What is the DateTime class in PHP, and why is it generally preferred over using the older date function alone? PHP › Date & Time Handling | PHP | Date & Time Handling | Beginner |
| 6 | How do you format a date or time value in PHP using the format method, and what do common format characters like Y, m, and d represent? PHP › Date & Time Handling | PHP | Date & Time Handling | Beginner |
| 7 | How do you format a date for a specific locale without a library? JavaScript › Date, Time & Internationalization (Intl API) | JavaScript | Date, Time & Internationalization (Intl API) | Intermediate |
| 8 | How do you calculate the difference between two dates in days? JavaScript › Date, Time & Internationalization (Intl API) | JavaScript | Date, Time & Internationalization (Intl API) | Intermediate |
| 9 | What is the difference between LocalDate, LocalTime, LocalDateTime, and ZonedDateTime, and when would you use each? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Intermediate |
| 10 | How would you calculate the difference between two dates or times using Period and Duration, and what's the distinction between these two classes? Java › Java Date & Time API (java.time) | Java | Java Date & Time API (java.time) | Intermediate |