Tag

Date Conversion

1 views collected around this technical thread.

Top Architect
Top Architect
Apr 15, 2022 · Backend Development

Global Date and Time Conversion in Spring Boot: Custom Converters, Jackson Configuration, and Parameter Binding

This article explains how to globally configure date and time handling in Spring Boot 2.x, covering custom Converter beans for LocalDate, LocalDateTime, and LocalTime, Jackson JSON serialization settings, @InitBinder usage, and common pitfalls such as lambda expressions and parameter binding.

Custom ConverterDate ConversionJackson
0 likes · 18 min read
Global Date and Time Conversion in Spring Boot: Custom Converters, Jackson Configuration, and Parameter Binding
Laravel Tech Community
Laravel Tech Community
Jul 5, 2021 · Backend Development

unixtojd – Convert Unix Timestamp to Julian Day Count (PHP)

This article explains the PHP function unixtojd, which converts a given Unix timestamp into its corresponding Julian Day number, returning the current day's count when no timestamp is supplied, and details its parameter and return value.

Date ConversionJulian DayPHP
0 likes · 1 min read
unixtojd – Convert Unix Timestamp to Julian Day Count (PHP)
Laravel Tech Community
Laravel Tech Community
Jul 4, 2021 · Backend Development

JewishToJD – Convert a Jewish Calendar Date to a Julian Day Number (PHP)

JewishToJD is a PHP function that converts a given Jewish calendar date—specified by month (1‑13), day (1‑30), and year (1‑9999)—into its corresponding Julian Day count, noting that while it can handle years before 3761 B.C., such calculations are historically meaningless.

Date ConversionJewish calendarbackend
0 likes · 2 min read
JewishToJD – Convert a Jewish Calendar Date to a Julian Day Number (PHP)
Laravel Tech Community
Laravel Tech Community
Jul 2, 2021 · Backend Development

jdtounix – Convert Julian Day Number to Unix Timestamp (PHP)

The jdtounix function takes a Julian Day number within the range 2440588‑2465342 and returns the corresponding Unix timestamp for the start of that day in local time, or FALSE if the value falls outside the supported Gregorian years 1970‑2037.

Date ConversionJulian DayPHP
0 likes · 2 min read
jdtounix – Convert Julian Day Number to Unix Timestamp (PHP)
Laravel Tech Community
Laravel Tech Community
Jun 30, 2021 · Backend Development

PHP jdtojewish Function: Convert Julian Day to Jewish Calendar Date

The PHP jdtojewish function converts a given Julian day number into a Jewish calendar date, optionally formatting the result in Hebrew using specific format flags, and returns the date as a month/day/year string.

Date ConversionJewish calendarPHP
0 likes · 2 min read
PHP jdtojewish Function: Convert Julian Day to Jewish Calendar Date
Laravel Tech Community
Laravel Tech Community
Jun 28, 2021 · Backend Development

PHP Function to Convert Julian Day Count to French Republican Calendar Date

This article presents a PHP function named jdtofrench that accepts an integer Julian Day count and returns the corresponding date formatted as month/day/year in the French Republican calendar, detailing its parameter and return value for backend developers.

Date ConversionJulian DayPHP
0 likes · 1 min read
PHP Function to Convert Julian Day Count to French Republican Calendar Date
Laravel Tech Community
Laravel Tech Community
Jun 25, 2021 · Backend Development

GregorianToJD – Convert a Gregorian Calendar Date to a Julian Day Number (PHP)

This article explains the PHP gregoriantojd function, detailing its purpose of converting Gregorian calendar dates within the range 4714 B.C. to 9999 A.D. into Julian Day numbers, and describes its parameters, valid ranges, historical context, and return value.

Date ConversionGregorian calendarJulian Day
0 likes · 2 min read
GregorianToJD – Convert a Gregorian Calendar Date to a Julian Day Number (PHP)
Laravel Tech Community
Laravel Tech Community
Jun 24, 2021 · Backend Development

FrenchToJD: Convert French Republican Calendar Date to Julian Day Number (PHP)

This article explains the PHP function FrenchToJD, which converts a date from the French Republican calendar (year 1‑14, month 1‑13, day 1‑30) into the corresponding Julian Day count, detailing its parameters, valid ranges, and return value.

Date ConversionJulian DayPHP
0 likes · 2 min read
FrenchToJD: Convert French Republican Calendar Date to Julian Day Number (PHP)
Laravel Tech Community
Laravel Tech Community
Jun 21, 2021 · Backend Development

cal_to_jd – Convert Supported Calendar Date to Julian Day Number

The cal_to_jd() function in PHP calculates the Julian Day count from a given date, supporting Gregorian, Julian, Jewish, and French calendars, and returns the corresponding Julian Day number based on the provided calendar, month, day, and year parameters.

Date ConversionJulian DayPHP
0 likes · 2 min read
cal_to_jd – Convert Supported Calendar Date to Julian Day Number
php中文网 Courses
php中文网 Courses
Nov 17, 2020 · Backend Development

PHP Class for Converting Between Solar (Gregorian) and Lunar (Chinese) Calendars

This article presents a PHP class that implements algorithms for converting Gregorian dates to Chinese lunar dates and vice versa, including utilities for leap year detection, month length calculation, zodiac retrieval, and handling of leap months, with complete source code examples and usage demonstration.

AlgorithmDate ConversionLunar Calendar
0 likes · 13 min read
PHP Class for Converting Between Solar (Gregorian) and Lunar (Chinese) Calendars