Tag

date formatting

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 29, 2025 · Backend Development

Mastering @JsonFormat in Spring Boot 3: Advanced Date & Enum Handling

This article demonstrates how to use Spring Boot 3's @JsonFormat annotation for precise date, time, and enum serialization, covering configuration via properties, annotation attributes, locale settings, shape options, lenient parsing, and case‑insensitive deserialization with practical code examples.

@JsonFormatJacksonJava
0 likes · 8 min read
Mastering @JsonFormat in Spring Boot 3: Advanced Date & Enum Handling
Raymond Ops
Raymond Ops
Apr 1, 2025 · Operations

Master the Linux date Command: Formats, Options, and Real‑World Examples

Learn how to use the Linux date command to display, format, and manipulate dates and times, including options for custom strings, file input, relative dates, setting system time, UTC display, and retrieving file modification timestamps, with practical code examples and a comprehensive format table.

LinuxShellSysadmin
0 likes · 9 min read
Master the Linux date Command: Formats, Options, and Real‑World Examples
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 7, 2024 · Backend Development

Date Formatting Techniques in Spring Boot Applications

This article explains why consistent date formatting is crucial in Spring Boot APIs, outlines common scenarios such as front‑end data exchange, database storage and logging, and presents multiple server‑side and client‑side solutions—including SimpleDateFormat, DateTimeFormatter, global Jackson settings, annotations, custom converters, and timestamp output—complete with code examples.

DateTimeFormatterJacksonJava
0 likes · 12 min read
Date Formatting Techniques in Spring Boot Applications
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 4, 2024 · Backend Development

Date Formatting Techniques in Spring Boot Applications

This article explains various Spring Boot approaches for formatting dates in API responses, covering frontend JavaScript utilities, Java SimpleDateFormat and DateTimeFormatter, global Jackson settings, annotation‑based formatting, custom converters, ControllerAdvice initBinder, and timestamp output methods.

DateTimeFormatterJacksonJava
0 likes · 12 min read
Date Formatting Techniques in Spring Boot Applications
php中文网 Courses
php中文网 Courses
Sep 9, 2024 · Backend Development

Using PHP date() Function to Format Dates and Times

This article explains PHP's versatile date() function, detailing its syntax, required format parameter, optional timestamp argument, and demonstrates numerous usage examples—including retrieving current date, time, individual components, and formatting specific timestamps—highlighting its importance for backend web development.

BackendDateTimePHP
0 likes · 4 min read
Using PHP date() Function to Format Dates and Times
Java Architect Essentials
Java Architect Essentials
Sep 27, 2023 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

This article explains how using 'YYYY' instead of 'yyyy' in Java's SimpleDateFormat can cause year miscalculations, especially around year-end weeks, demonstrates the issue with sample code, shows correct usage, and warns developers to avoid this subtle bug.

JavaProgrammingYear
0 likes · 4 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
Selected Java Interview Questions
Selected Java Interview Questions
Jul 31, 2023 · Backend Development

How to Configure Date Formatting in SpringBoot Backend Applications

This guide explains how to customize the serialization and deserialization of Date objects in SpringBoot by adjusting application.yml/properties, using @JsonFormat, @DateTimeFormat, and @Temporal annotations, and by creating global converters for both form submissions and JSON payloads, ensuring consistent timezone handling.

Global ConverterJacksonJava
0 likes · 12 min read
How to Configure Date Formatting in SpringBoot Backend Applications
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 8, 2022 · Databases

Resolving MySQL LOAD DATA Errors: Handling Date Truncation, Quotes, and Line Terminators

This article walks through a step‑by‑step troubleshooting of MySQL LOAD DATA LOCAL INFILE failures caused by date truncation, quoted CSV fields, and incorrect line terminators, showing how to enable local_infile, use enclosed‑by, @‑variables, and str_to_date to successfully import the data.

CSVLOAD DATAMySQL
0 likes · 12 min read
Resolving MySQL LOAD DATA Errors: Handling Date Truncation, Quotes, and Line Terminators
Java Captain
Java Captain
Mar 2, 2022 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

This article explains how using the uppercase YYYY pattern in Java's SimpleDateFormat can incorrectly shift dates to the next year for week‑based years, demonstrates the issue with sample code, and provides guidance to avoid this subtle bug in date handling.

Javabackend developmentbug prevention
0 likes · 4 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
Java Architect Essentials
Java Architect Essentials
Jan 11, 2022 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

This article explains the subtle difference between 'yyyy' and 'YYYY' in Java's SimpleDateFormat, demonstrates how using the wrong pattern can cause year miscalculations—especially on December 31st—and provides code examples and a clear explanation to help developers avoid this common bug.

BackendJavabug
0 likes · 4 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
Selected Java Interview Questions
Selected Java Interview Questions
Dec 31, 2021 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

The article explains how using the week‑based year pattern (YYYY) instead of the calendar year pattern (yyyy) in Java's SimpleDateFormat can cause dates like 2019‑12‑31 to be displayed as 2020‑12‑31, illustrating the issue with code examples and a clear explanation of the underlying rules.

BackendJavacalendar
0 likes · 4 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
Top Architect
Top Architect
Dec 31, 2021 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

The article explains a subtle Java date‑formatting bug where using the week‑based year pattern (YYYY) can incorrectly display the next calendar year for dates at year‑end, demonstrates the issue with sample code, and clarifies why yyyy should be used for ordinary year representation.

BackendJavabug
0 likes · 5 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
php中文网 Courses
php中文网 Courses
Jul 7, 2021 · Backend Development

Fixing Date Formatting in Laravel Notification Model Using a Custom Trait

This article explains how to resolve incorrect date formatting in Laravel notification queries by creating a custom Notification model that uses a HasDateTimeFormatter trait and overriding the notifications() method in the User model.

BackendLaravelNotifications
0 likes · 3 min read
Fixing Date Formatting in Laravel Notification Model Using a Custom Trait
Selected Java Interview Questions
Selected Java Interview Questions
Aug 27, 2020 · Backend Development

Thread Safety of SimpleDateFormat and How to Solve It with ThreadLocal

This article explains why a static SimpleDateFormat instance is not thread‑safe, demonstrates the issue with concurrent parsing, and provides a ThreadLocal‑based solution with complete Java code examples and performance observations.

ConcurrencyJavaThread Safety
0 likes · 10 min read
Thread Safety of SimpleDateFormat and How to Solve It with ThreadLocal
Selected Java Interview Questions
Selected Java Interview Questions
Aug 23, 2020 · Backend Development

Understanding the Difference Between yyyy and YYYY, and dd and DD in Java Date Formatting

This article explains how using uppercase YYYY and DD in Java date patterns produces week‑based year and day‑of‑year values, leading to unexpected results around year boundaries, and provides code examples and best‑practice recommendations to avoid these formatting bugs.

DateTimeFormatterJavadate formatting
0 likes · 7 min read
Understanding the Difference Between yyyy and YYYY, and dd and DD in Java Date Formatting
macrozheng
macrozheng
Apr 16, 2020 · Backend Development

How to Simplify Date Formatting in Spring Boot: Global Config & @JsonFormat Tricks

This article shares practical techniques for handling date and time in Spring Boot projects, including the pitfalls of using SimpleDateFormat, the benefits of @JsonFormat, and two approaches to global configuration that streamline formatting for both java.util.Date and java.time types.

@JsonFormatGlobal ConfigurationJava
0 likes · 9 min read
How to Simplify Date Formatting in Spring Boot: Global Config & @JsonFormat Tricks
Python Programming Learning Circle
Python Programming Learning Circle
Mar 20, 2020 · Fundamentals

Data Cleaning with Python: Removing Duplicates, Blank Rows, and Formatting Dates and Numbers

This tutorial demonstrates how to use Python and pandas to clean Excel data by removing duplicate and empty rows, stripping spaces, reformatting date strings, and standardising numeric values with two‑decimal precision and currency symbols, providing complete code examples for each step.

Duplicate RemovalExcelNumber Formatting
0 likes · 11 min read
Data Cleaning with Python: Removing Duplicates, Blank Rows, and Formatting Dates and Numbers
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Feb 3, 2020 · Fundamentals

Understanding SimpleDateFormat, Week Year, and ISO 8601 in Java

This article explains how to use Java's SimpleDateFormat for date‑time formatting and parsing, describes the pattern letters, clarifies the difference between "yyyy" and "YYYY" for week‑year calculations, and shows how ISO 8601 week definitions are supported in Java with practical code examples.

JavaJava8Programming
0 likes · 8 min read
Understanding SimpleDateFormat, Week Year, and ISO 8601 in Java