Tagged articles
Date Parsing
13 articles · Page 1 of 1
Learn how PHP’s powerful strtotime() function transforms human‑readable date strings into UNIX timestamps, covering its syntax, common formats—including relative dates, absolute dates, time intervals, and special keywords—plus usage tips, limitations, and advanced parameters for flexible date handling.
BackendDate ParsingPHP
0 likes · 4 min read

Learn how PHP’s strtotime() function transforms human‑readable date strings into UNIX timestamps, covering its syntax, parameters, and common formats such as relative dates, absolute dates, time intervals, and special keywords, while noting its parsing limits and extra options.
Date Parsingstrtotimeunix timestamp
0 likes · 4 min read

This article walks through a real‑world Pandas issue where British and American date formats are mixed, showing how to preprocess the data, handle empty rows, and apply pd.to_datetime with error coercion to produce clean datetime columns.
Date ParsingPandasPython
0 likes · 3 min read

A developer discovers a bug where a time component displays incorrect dates because the backend switched timestamp values from numbers to strings, and learns how to correctly parse timestamps in JavaScript using Dayjs and defensive Number conversion.
Date ParsingDayjsJavaScript
0 likes · 5 min read

This guide presents ten Python date and time libraries—Arrow, Chronyk, dateutil, Delorean, Maya, Pendulum, PyTime, pytz, when.py, and moment—detailing typical scenarios, core features, and ready-to-run code snippets for creation, parsing, formatting, timezone conversion, and arithmetic.
Code ExamplesDATETIMEDate Parsing
0 likes · 7 min read

This article walks through handling Excel columns that contain both compact (YYYYMMDD) and full timestamp (YYYY-MM-DD HH:MM:SS) date strings in Pandas, showing how to unify formats by removing hyphens, trimming, and converting them to proper datetime objects with concise code.
Date Parsingdata processing
0 likes · 4 min read

This article explains how PHP's strtotime() function converts human‑readable date and time strings into UNIX timestamps, covering its syntax, parameters, common usage examples, special keywords, limitations, and additional options for flexible date parsing.
Date ParsingPHPstrtotime
0 likes · 4 min read

This article walks through a real‑world Pandas problem where British and American date formats are mixed, showing how to detect, clean, and convert the dates—including handling empty rows—using concise code and clear visual examples.
Date ParsingPandasPython
0 likes · 3 min read

This article explains why SimpleDateFormat.parse() and SimpleDateFormat.format() are not thread‑safe in Java, analyzes the underlying causes involving shared Calendar objects, and presents three practical solutions—including per‑thread instances, synchronized blocks, and ThreadLocal usage—to eliminate concurrency bugs.
Date ParsingSimpleDateFormatSynchronization
0 likes · 11 min read

This article introduces Python's built‑in time modules, explains why third‑party libraries like DateParser, Dateutil, and Arrow are needed for unconventional date formats, and demonstrates how to use them—including code examples—to split time ranges by month or week for robust data export tasks.
ArrowDate ParsingDateUtil
0 likes · 6 min read

This article demonstrates a common mistake when parsing a date string without a year in Java, shows the resulting DateTimeParseException, and provides a correct solution using DateTimeFormatterBuilder to supply a default year, complete with code examples and expected output.
Date ParsingDateTimeFormatterDateTimeFormatterBuilder
0 likes · 4 min read

This article explains why Safari on iOS throws “Invalid Date” for date strings like “2018‑12‑10 11:11:11”, demonstrates the incompatibility with Chrome, and provides a simple regex‑based solution to convert the format so the date parses correctly across browsers.
Date ParsingJavaScriptMobile Development
0 likes · 3 min read

This article compiles a series of practical solutions for frequent WeChat mini‑program challenges, covering iOS date parsing, live‑stream message throttling, storage sharing, navigation depth limits, floating‑point precision, QR‑code scene length, image preloading, and server‑client time synchronization, with code snippets and explanations.
Date ParsingImage PreloadingJavaScript
0 likes · 9 min read
