Tag

date functions

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Oct 23, 2023 · Backend Development

Using PHP time() to Retrieve the Current UNIX Timestamp

This article explains the PHP time() function, its syntax, usage examples, and important considerations such as timestamp units, server time versus client time, and related date functions, helping developers retrieve and work with the current UNIX timestamp in PHP scripts.

Backend DevelopmentUnix timestampdate functions
0 likes · 4 min read
Using PHP time() to Retrieve the Current UNIX Timestamp
php中文网 Courses
php中文网 Courses
Apr 3, 2023 · Databases

MySQL Date and Time Functions: addtime, adddate, date_add, subtime, subdate, date_sub

This article explains MySQL's date and time manipulation functions—including addtime, adddate, date_add, subtime, subdate, and date_sub—showing their syntax, usage with numeric and INTERVAL arguments, and providing example queries for adding or subtracting seconds, minutes, days, weeks, months, and years.

MySQLSQLadddate
0 likes · 6 min read
MySQL Date and Time Functions: addtime, adddate, date_add, subtime, subdate, date_sub
Laravel Tech Community
Laravel Tech Community
Jul 1, 2021 · Backend Development

JDToJulian: Convert a Julian Day Number to a Julian Calendar Date

The JDToJulian function converts a given Julian Day count into a readable Julian calendar date formatted as month/day/year, accepting an integer Julian Day number as input and returning the corresponding date string.

Backendconversiondate functions
0 likes · 1 min read
JDToJulian: Convert a Julian Day Number to a Julian Calendar Date