Tagged articles
17 articles
Page 1 of 1
php Courses
php Courses
Dec 17, 2025 · Backend Development

How to Get and Use UNIX Timestamps in PHP

This guide explains what a UNIX timestamp is, shows how to retrieve the current timestamp with PHP's time() function, and provides practical examples for calculating time intervals and sorting timestamps using simple PHP code.

Backenddate calculationtime function
0 likes · 3 min read
How to Get and Use UNIX Timestamps in PHP
php Courses
php Courses
Sep 30, 2025 · Backend Development

Mastering PHP’s strtotime(): Convert Human Dates to UNIX Timestamps

Learn how PHP’s powerful strtotime() function transforms human‑readable date strings into UNIX timestamps, covering its syntax, common formats—including relative dates, absolute dates, time intervals, and special keywords—plus usage tips, limitations, and advanced parameters for flexible date handling.

BackendDate ParsingPHP
0 likes · 4 min read
Mastering PHP’s strtotime(): Convert Human Dates to UNIX Timestamps
php Courses
php Courses
Sep 10, 2025 · Backend Development

Master PHP’s strtotime(): Convert Human Dates to UNIX Timestamps

Learn how PHP’s strtotime() function transforms human‑readable date strings into UNIX timestamps, covering its syntax, parameters, and common formats such as relative dates, absolute dates, time intervals, and special keywords, while noting its parsing limits and extra options.

Date Parsingstrtotimeunix timestamp
0 likes · 4 min read
Master PHP’s strtotime(): Convert Human Dates to UNIX Timestamps
php Courses
php Courses
Aug 26, 2025 · Backend Development

Master PHP’s time() Function: Get Unix Timestamps & Build Date Logic

Learn how PHP’s built-in time() function returns the current Unix timestamp, how to use it without parameters, and see practical code examples for displaying timestamps, comparing dates with strtotime(), and formatting dates with date() and timezone settings.

PHPdate handlingtime
0 likes · 4 min read
Master PHP’s time() Function: Get Unix Timestamps & Build Date Logic
Lin is Dream
Lin is Dream
May 26, 2025 · Fundamentals

Why Time Bugs Threaten Software: From Y2K to the 2038 Problem

This article explores how time is represented in computers, explains historic bugs like the Y2K and the upcoming 2038 issue, clarifies GMT/UTC, time zones and daylight saving, and compares 32‑bit and 64‑bit timestamps, Java long handling, and architectural differences that affect time calculations.

2038 problem32-bit vs 64-bitJava long
0 likes · 12 min read
Why Time Bugs Threaten Software: From Y2K to the 2038 Problem
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.

mysqlperformancetimestamp
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.

BackendPHPdate handling
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.

datetimephp-tutorialtime function
0 likes · 5 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.

PHPdate calculationtime function
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 handlingphp-tutorialtime function
0 likes · 4 min read
Understanding PHP time() Function: Purpose, Usage, and Code Examples
ELab Team
ELab Team
Mar 17, 2021 · Frontend Development

Mastering Time in JavaScript: From Unix Timestamps to Modern Date Libraries

This article explains the history of global time standards, how computers represent time with Unix timestamps and the 2038 problem, details ISO 8601 and RFC 2822 formats, and provides practical JavaScript Date usage examples along with comparisons of popular date‑handling libraries such as Moment.js, Dayjs, and Miment.

DayjsJavaScriptdate
0 likes · 22 min read
Mastering Time in JavaScript: From Unix Timestamps to Modern Date Libraries
Programmer DD
Programmer DD
May 30, 2020 · Databases

Which Date/Time Type Should You Use in Databases? A Practical Guide

This article examines common date and time storage options in databases—string, DateTime, Timestamp, and Unix timestamp—highlighting their characteristics, timezone handling, performance implications, and best-use scenarios, with Java code examples and migration tips.

Timezonedatetimetimestamp
0 likes · 7 min read
Which Date/Time Type Should You Use in Databases? A Practical Guide
Senior Brother's Insights
Senior Brother's Insights
May 20, 2020 · Databases

How to Choose the Right Date/Time Storage: Strings, DATETIME, TIMESTAMP, or Unix Timestamp

This article compares common database date‑time storage options—string fields, DATETIME, TIMESTAMP, and Unix timestamps—explaining their formats, range limits, timezone handling, performance implications, and provides Java code examples and SQL conversion tips to help developers select the most suitable approach for their systems.

databasesdate-timetimestamp
0 likes · 6 min read
How to Choose the Right Date/Time Storage: Strings, DATETIME, TIMESTAMP, or Unix Timestamp