Tag

LocalTime

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Feb 12, 2023 · Backend Development

Comprehensive Guide to Java 8 Date and Time API

This article provides a thorough walkthrough of Java 8's date‑time API, covering formatting patterns, obtaining current dates and times, extracting components, creating specific dates, comparing dates, handling periodic events, timezone offsets, timestamps, custom parsing, common pitfalls, and thread‑safety considerations, all illustrated with clear code examples.

DateTimeDateTimeFormatterJava
0 likes · 24 min read
Comprehensive Guide to Java 8 Date and Time API
Laravel Tech Community
Laravel Tech Community
Mar 19, 2021 · Backend Development

PHP localtime() Function – Retrieve Local Time as an Array

The PHP localtime() function returns the local date and time as an array, optionally associative, mirroring the C library function, and accepts an optional Unix timestamp parameter, with examples showing both numeric and associative array outputs.

DateTimeLocalTimePHP
0 likes · 3 min read
PHP localtime() Function – Retrieve Local Time as an Array
Java Captain
Java Captain
Dec 16, 2018 · Fundamentals

Using Java 8 java.time API: LocalDate, LocalTime, and LocalDateTime Examples

This article explains the shortcomings of java.util.Date, introduces the immutable java.time classes LocalDate, LocalTime, and LocalDateTime introduced in Java 8, and provides detailed code examples for obtaining, comparing, adding/subtracting, and converting dates and times.

JavaJava8LocalDate
0 likes · 8 min read
Using Java 8 java.time API: LocalDate, LocalTime, and LocalDateTime Examples