Tag

date-time

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Jun 2, 2025 · Fundamentals

Python datetime: 20 Common Date and Time Operations with Code Examples

This article presents twenty practical Python datetime examples covering current time retrieval, formatting, date arithmetic, leap year checks, timers, scheduling, calendar queries, timestamp conversions, and weekday calculations, each accompanied by clear code snippets for immediate use.

DateTimePythonTutorial
0 likes · 7 min read
Python datetime: 20 Common Date and Time Operations with Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
May 6, 2025 · Fundamentals

Python Date and Time Manipulation Examples

This article provides a comprehensive collection of Python code snippets demonstrating how to obtain, format, convert, calculate differences, and perform various operations with dates and times, including timers, scheduling, and weekday handling.

DateTimePythonTutorial
0 likes · 7 min read
Python Date and Time Manipulation Examples
Java Architect Essentials
Java Architect Essentials
Jun 9, 2024 · Backend Development

Why java.util.Date Is Deprecated and How to Migrate to the java.time API

The article explains the design flaws of java.util.Date, why it is discouraged in modern Java development, and provides a step‑by‑step guide with code examples for replacing it with java.time classes such as Instant, LocalDateTime, LocalDate, LocalTime, and ZonedDateTime.

JavaMigrationbackend
0 likes · 10 min read
Why java.util.Date Is Deprecated and How to Migrate to the java.time API
Architecture Digest
Architecture Digest
Mar 14, 2024 · Backend Development

Why java.util.Date Should Be Replaced and How to Migrate to java.time

The article explains the many design flaws of java.util.Date, why modern Java projects must abandon it, and provides a step‑by‑step guide with code examples for migrating to the immutable java.time API such as Instant, LocalDateTime and ZonedDateTime.

JavaMigrationbackend
0 likes · 13 min read
Why java.util.Date Should Be Replaced and How to Migrate to java.time
Laravel Tech Community
Laravel Tech Community
Mar 17, 2021 · Backend Development

PHP getdate() Function: Retrieve Date and Time Information

The PHP getdate() function returns an associative array with detailed date and time components based on a provided Unix timestamp or the current local time, explaining its parameters, return structure, and offering a practical code example with sample output.

PHPbackenddate-time
0 likes · 2 min read
PHP getdate() Function: Retrieve Date and Time Information
Laravel Tech Community
Laravel Tech Community
Mar 14, 2021 · Backend Development

PHP date_default_timezone_get() – Retrieve the Default Timezone Used by Date/Time Functions

The article explains PHP's date_default_timezone_get() function, detailing how it determines the default timezone—first checking any timezone set with date_default_timezone_set(), then the php.ini setting, and finally the system default—provides the return type, example code, and sample output.

backenddate-timephp-functions
0 likes · 2 min read
PHP date_default_timezone_get() – Retrieve the Default Timezone Used by Date/Time Functions