Tag

Unix timestamp

1 views collected around this technical thread.

IT Services Circle
IT Services Circle
Apr 10, 2025 · Databases

Choosing the Right Date/Time Storage Type in MySQL: DATETIME vs TIMESTAMP vs Unix Timestamp

This article explains why storing dates as strings is problematic, compares MySQL's DATETIME and TIMESTAMP types—including their storage size, range, and timezone behavior—provides practical SQL examples, discusses numeric Unix timestamps, and offers guidance on selecting the most suitable type for different scenarios.

DatabaseDateTimeMySQL
0 likes · 12 min read
Choosing the Right Date/Time Storage Type in MySQL: DATETIME vs TIMESTAMP vs Unix Timestamp
php中文网 Courses
php中文网 Courses
Feb 25, 2025 · Backend Development

Understanding PHP time() Function: Usage, Examples, and Applications

This article explains PHP's time() function, describing how it returns the current Unix timestamp, demonstrates basic usage with code examples, shows how to compare dates and format the timestamp, and provides practical snippets for common time‑related tasks in backend development.

Date HandlingPHPUnix timestamp
0 likes · 4 min read
Understanding PHP time() Function: Usage, Examples, and Applications
php中文网 Courses
php中文网 Courses
Nov 5, 2024 · Backend Development

Understanding PHP time() Function: Purpose, Usage, and Code Examples

This article explains PHP's time() function, describing how it returns the current Unix timestamp, demonstrates basic usage, and provides multiple code examples for retrieving timestamps, comparing dates, and formatting the current date and time.

DateTimeUnix timestampphp tutorial
0 likes · 5 min read
Understanding PHP time() Function: Purpose, Usage, and Code Examples
php中文网 Courses
php中文网 Courses
Sep 23, 2024 · Backend Development

Understanding PHP time() Function: Purpose, Usage, and Code Examples

This article explains the PHP time() function, describing how it returns the current Unix timestamp, how to use it without parameters, and provides multiple code examples for retrieving timestamps, comparing dates, and formatting the current date and time.

DatePHPUnix timestamp
0 likes · 4 min read
Understanding PHP time() Function: Purpose, Usage, and Code Examples
php中文网 Courses
php中文网 Courses
Mar 18, 2024 · Backend Development

Getting the Current UNIX Timestamp in PHP and Common Use Cases

This article explains how to obtain the current UNIX timestamp in PHP using the built‑in time() function, demonstrates code examples for displaying the timestamp, calculating yesterday’s date, and sorting an array of timestamps, and discusses common scenarios where timestamps are useful.

PHPUnix timestampbackend development
0 likes · 4 min read
Getting the Current UNIX Timestamp in PHP and Common Use Cases
php中文网 Courses
php中文网 Courses
Nov 17, 2023 · Backend Development

Understanding PHP time() Function: Purpose, Usage, and Code Examples

This article explains PHP's built‑in time() function, describing its role in returning the current Unix timestamp, demonstrating usage without parameters, and providing multiple code examples—including basic timestamp output, date comparison with strtotime(), and formatted date/time retrieval after setting the timezone.

Date HandlingPHPUnix timestamp
0 likes · 4 min read
Understanding PHP time() Function: Purpose, Usage, and Code Examples
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
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.

Unix timestampbackend developmentdate functions
0 likes · 4 min read
Using PHP time() to Retrieve the Current UNIX Timestamp
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 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 22, 2021 · Backend Development

Using PHP's easter_date Function to Get Easter Midnight Unix Timestamp

This article explains PHP's easter_date function, which returns the Unix timestamp for midnight on Easter Sunday of a specified year (1970‑2037), details its year parameter, return value, and provides sample code demonstrating its usage.

Unix timestampbackenddate function
0 likes · 2 min read
Using PHP's easter_date Function to Get Easter Midnight Unix Timestamp
Laravel Tech Community
Laravel Tech Community
Mar 23, 2021 · Backend Development

PHP time() Function – Returning the Current Unix Timestamp

This article explains PHP's time() function, which returns the current Unix timestamp, and demonstrates how to calculate and display the current date and the date one week later using both arithmetic and strtotime methods.

DatePHPUnix timestamp
0 likes · 2 min read
PHP time() Function – Returning the Current Unix Timestamp
Laravel Tech Community
Laravel Tech Community
Mar 22, 2021 · Backend Development

PHP mktime() Function – Getting a Unix Timestamp

The article explains PHP's mktime() function, detailing its syntax, parameter list, default behavior, return value, and provides a complete example showing how to generate a Unix timestamp for a specific date and time.

DateTimePHPUnix timestamp
0 likes · 3 min read
PHP mktime() Function – Getting a Unix Timestamp
macrozheng
macrozheng
Jun 4, 2020 · Fundamentals

Why Does Your App Show 1970‑01‑01? Uncovering the Unix Timestamp Origin

This article explains why many systems display the date 1970‑01‑01, demonstrates how to reproduce it with Java code, and traces the historical development of the Unix timestamp from its 1971 inception to the modern 1970 epoch standard.

Java DateUnix timestampepoch time
0 likes · 7 min read
Why Does Your App Show 1970‑01‑01? Uncovering the Unix Timestamp Origin