Tagged articles
time handling
10 articles · Page 1 of 1
This article explains PHP's microtime() function, covering its basic concept, syntax with optional parameters, practical code examples for retrieving timestamps, measuring execution time, generating unique IDs, and common scenarios where precise timing improves backend performance.
microtimephp-functionstime handling
0 likes · 4 min read

This article explains PHP's microtime() function, covering its basic concept, syntax with optional boolean parameter, practical code examples for retrieving timestamps as strings or floats, and common applications such as measuring execution time and generating unique identifiers.
PHPPerformance Measurementmicrotime
0 likes · 4 min read

This article introduces Python's datetime, time, and pytz modules, demonstrating how to obtain the current date and time, format and parse strings, compute time differences, work with timestamps, perform sleep operations, and handle time zones with clear code examples.
Pythonpytztime
0 likes · 6 min read

This article analyzes six typical time‑related bugs—including timezone conversion, daylight‑saving anomalies, precision mismatches, comparison errors, storage pitfalls, and permission expirations—and provides concrete design and testing safeguards for developers.
backend developmentdate bugssoftware testing
0 likes · 10 min read

This article provides a thorough overview of Python's time‑related libraries—including the built‑in time and datetime modules, third‑party pytz, dateutil, and Arrow—explaining core concepts such as timestamps, time zones, daylight‑saving time, and ISO 8601 parsing with clear code examples and usage patterns.
ArrowDATETIMEDateUtil
0 likes · 27 min read

This article explains PHP's microtime() function, covering its basic concept, syntax, optional parameters, practical code examples for retrieving timestamps as strings or floats, and common use cases such as measuring execution time and generating unique identifiers.
code executionmicrotimetime handling
0 likes · 5 min read

Time management in programming spans human concepts of time, language-specific handling of zones and timestamps, 32‑bit overflow risks, sync versus async processing, log timestamping, business‑level period calculations, and common pitfalls, emphasizing that mastering these nuances prevents bugs, improves performance, and enables reliable analytics.
Asynchronous ProcessingClickHouseETL
0 likes · 20 min read

This article explains why many systems display the date 1970‑01‑01, demonstrates how to reproduce it with Java code, and traces the historical development of the Unix timestamp from its 1971 inception to the modern 1970 epoch standard.
Epoch TimeJava Dateprogramming fundamentals
0 likes · 7 min read

This article provides a concise overview of Python's three core time modules—datetime, time, and calendar—explaining their design, key concepts like epoch, UTC, DST, and demonstrating how to obtain, convert, and manipulate dates and times with practical code examples.
DATETIMEtime handlingtime module
0 likes · 13 min read

This article explains the legacy java.util.Date class, its limited useful constructors and methods, the more flexible java.util.Calendar API, how to format and parse dates with DateFormat and SimpleDateFormat, and best practices for storing timestamps in databases using long values.
DateSimpleDateFormatcalendar
0 likes · 9 min read
