Tag

Date

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
May 8, 2025 · Backend Development

Using PHP filemtime to Retrieve File Modification Time

This article explains how to use PHP's filemtime function to obtain a file's last modification timestamp, demonstrates single‑file and multiple‑file examples with code, and shows how to format the timestamp using the date function.

BackendDatePHP
0 likes · 4 min read
Using PHP filemtime to Retrieve File Modification Time
php中文网 Courses
php中文网 Courses
Feb 26, 2025 · Backend Development

Using PHP filemtime to Retrieve File Modification Time

This article explains how to use PHP's filemtime function to obtain a file's last modification timestamp, demonstrates converting it to a readable date with date(), and provides code examples for retrieving timestamps for a single file and multiple files.

BackendDatePHP
0 likes · 4 min read
Using PHP filemtime to Retrieve File Modification Time
Code Mala Tang
Code Mala Tang
Nov 15, 2024 · Frontend Development

Mastering Time Zones in JavaScript: From UTC Storage to DST Detection

Learn how to correctly handle time zones in JavaScript by storing dates in UTC, using the IANA database, detecting daylight saving time, and leveraging built‑in Intl APIs or libraries like Luxon, with practical code examples and best‑practice guidelines.

DSTDateIntl
0 likes · 17 min read
Mastering Time Zones in JavaScript: From UTC Storage to DST Detection
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.

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

Using PHP date() Function to Format Dates and Times

This article explains PHP's date() function, its syntax, required and optional parameters, and provides multiple code examples demonstrating how to retrieve and format current dates, times, and timestamps for various use cases in backend development.

BackendDateDateTime
0 likes · 4 min read
Using PHP date() Function to Format Dates and Times
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 21, 2024 · Backend Development

Why Avoid java.util.Date and How to Migrate to java.time APIs

The article explains the design flaws of java.util.Date, why it should be replaced, and provides a step‑by‑step guide with code examples for migrating to the modern java.time classes such as Instant, LocalDateTime, LocalDate, and ZonedDateTime in Java backend projects.

APIBackendDate
0 likes · 10 min read
Why Avoid java.util.Date and How to Migrate to java.time APIs
Code Ape Tech Column
Code Ape Tech Column
Mar 12, 2024 · Backend Development

Problems with java.util.Date and Migration to java.time API

The article explains the design flaws of java.util.Date, such as mutability, misleading naming, and timezone issues, and provides a step‑by‑step guide to replace it and related APIs with java.time classes like Instant, LocalDateTime, and ZonedDateTime, including code examples.

APIBackendDate
0 likes · 13 min read
Problems with java.util.Date and Migration to java.time API
php中文网 Courses
php中文网 Courses
Nov 20, 2023 · Backend Development

Using PHP Timestamp Functions: time(), strtotime(), date(), and Related Utilities

This article explains how to use PHP's timestamp functions—including time(), strtotime(), date(), and mktime()—to obtain current timestamps, convert strings to timestamps, format dates, handle time zones, and perform relative time calculations with practical code examples.

BackendDatestrtotime
0 likes · 5 min read
Using PHP Timestamp Functions: time(), strtotime(), date(), and Related Utilities
php中文网 Courses
php中文网 Courses
Oct 25, 2023 · Backend Development

Understanding and Using PHP date() Function for Date and Time Formatting

This article explains the PHP date() function, covering its syntax, required and optional parameters, common format characters for year, month, day, hour, minute and second, additional textual options, usage for timestamp conversion, and timezone considerations, helping developers handle date and time tasks efficiently.

DateDateTimePHP
0 likes · 5 min read
Understanding and Using PHP date() Function for Date and Time Formatting
ByteFE
ByteFE
Jan 9, 2023 · Frontend Development

Understanding JavaScript Date Handling and Comparing Popular Date Libraries

This article examines why native JavaScript Date falls short for time handling, explains time measurement standards and time zones, and compares four major date libraries—MomentJS, DayJS, date-fns, and native Date—highlighting their advantages, drawbacks, and appropriate usage scenarios.

DateMomentJSdate-fns
0 likes · 12 min read
Understanding JavaScript Date Handling and Comparing Popular Date Libraries
Selected Java Interview Questions
Selected Java Interview Questions
Jun 28, 2022 · Databases

Designing Cross‑Database Date and Time Types: Comparison of MySQL, Oracle, and SQL Server

The article examines how to design cross‑database date and time storage by comparing MySQL, Oracle, and SQL Server date‑time types, discussing their formats, ranges, storage sizes, and trade‑offs, and proposes practical solutions such as using timestamps, custom conversion functions, and ORM considerations.

DatabaseDateDateTime
0 likes · 7 min read
Designing Cross‑Database Date and Time Types: Comparison of MySQL, Oracle, and SQL Server
Laravel Tech Community
Laravel Tech Community
Jul 6, 2021 · Backend Development

PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar

The article explains PHP's cal_days_in_month function, detailing its purpose, parameters (calendar, month, year), return value, and provides a complete example showing how to retrieve and display the number of days in a specific month of a given year.

DateExamplecalendar
0 likes · 2 min read
PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar
Laravel Tech Community
Laravel Tech Community
Jun 27, 2021 · Backend Development

jdmonthname – Return Month Name from Julian Day in PHP

The jdmonthname function in PHP returns the name of a month based on a given Julian day number and a specified calendar mode, detailing its string return type, required integer parameters, and usage for different calendar systems.

DateJulianPHP
0 likes · 1 min read
jdmonthname – Return Month Name from Julian Day in PHP
Laravel Tech Community
Laravel Tech Community
Jun 26, 2021 · Backend Development

JDDayOfWeek – Return Day of Week from Julian Day Number (PHP)

The JDDayOfWeek PHP function returns the day of the week for a given Julian day number, offering numeric or English string results based on an optional mode parameter, making it useful for date calculations in backend development.

BackendDateJulianday
0 likes · 2 min read
JDDayOfWeek – Return Day of Week from Julian Day Number (PHP)
Laravel Tech Community
Laravel Tech Community
Jun 18, 2021 · Backend Development

PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar

The article explains the PHP cal_days_in_month function, detailing its purpose of returning the number of days in a specific month for a given year and calendar, describing its parameters, return value, and providing a complete code example illustrating its usage.

BackendDatecalendar
0 likes · 2 min read
PHP cal_days_in_month Function: Returns Number of Days in a Month for a Given Calendar
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.

BackendDatePHP
0 likes · 2 min read
PHP time() Function – Returning the Current Unix Timestamp
php中文网 Courses
php中文网 Courses
Nov 20, 2020 · Backend Development

Calculating Student Age Using PHP Date Functions

This tutorial demonstrates how to use PHP variables and the date() function to automatically compute a student's age based on their birthdate, handling current date retrieval, birthday checks, and adjusting the age calculation accordingly.

BackendDatePHP
0 likes · 3 min read
Calculating Student Age Using PHP Date Functions
Laravel Tech Community
Laravel Tech Community
Aug 18, 2020 · Databases

How to Build INSERT Statements for Different Data Types in SQL

This article explains how to construct SQL INSERT statements for string, numeric, date, and boolean fields, demonstrates variable concatenation for dynamic values, and provides a comprehensive example that combines multiple data types into a single query.

BooleanData TypesDatabase
0 likes · 5 min read
How to Build INSERT Statements for Different Data Types in SQL