Tag

Date Parsing

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 8, 2025 · Frontend Development

Why Did My JavaScript Timestamp Show the Wrong Date? A Dayjs Debugging Guide

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 ParsingJavaScriptdayjs
0 likes · 5 min read
Why Did My JavaScript Timestamp Show the Wrong Date? A Dayjs Debugging Guide
php中文网 Courses
php中文网 Courses
Oct 25, 2023 · Backend Development

Understanding and Using PHP's strtotime() Function

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 ParsingPHPUnix timestamp
0 likes · 4 min read
Understanding and Using PHP's strtotime() Function
Java Architect Essentials
Java Architect Essentials
Jul 3, 2022 · Backend Development

Thread Safety Issues of SimpleDateFormat.parse() and format() Methods and Their Solutions

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 ParsingJavaSynchronization
0 likes · 11 min read
Thread Safety Issues of SimpleDateFormat.parse() and format() Methods and Their Solutions
Weimob Technology Center
Weimob Technology Center
Oct 11, 2018 · Mobile Development

How to Solve Common WeChat Mini‑Program Issues: Dates, Navigation, Images, and More

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
How to Solve Common WeChat Mini‑Program Issues: Dates, Navigation, Images, and More