Tag

Date Handling

1 views collected around this technical thread.

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
Test Development Learning Exchange
Test Development Learning Exchange
Feb 14, 2025 · Fundamentals

Python Date and Time Modules Overview

This article provides a comprehensive overview of Python's core date and time handling modules, including datetime, time, calendar, dateutil, and zoneinfo, with practical examples and installation instructions for advanced functionality.

Date HandlingDateTimePython
0 likes · 3 min read
Python Date and Time Modules Overview
php中文网 Courses
php中文网 Courses
Aug 21, 2024 · Backend Development

Understanding PHP DateTime: Mutability, Immutability, and Best Practices

This article examines PHP's DateTime class, analyzing its mutable design drawbacks, the benefits of the immutable DateTimeImmutable alternative, and offers practical guidelines and best‑practice strategies for developers to write safer, more maintainable date‑handling code.

Date HandlingDateTimePHP
0 likes · 8 min read
Understanding PHP DateTime: Mutability, Immutability, and Best Practices
Test Development Learning Exchange
Test Development Learning Exchange
Aug 8, 2024 · Fundamentals

Python datetime tutorial: current time, timestamps, date arithmetic, formatting, parsing, range generation, and calendar display

This tutorial demonstrates how to use Python's datetime and calendar modules to obtain the current date and time, convert dates to timestamps, perform date arithmetic, format and parse dates, generate date ranges, compare dates, and display monthly calendars, with clear code examples for each operation.

Date HandlingDateTimePython
0 likes · 6 min read
Python datetime tutorial: current time, timestamps, date arithmetic, formatting, parsing, range generation, and calendar display
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
Mar 25, 2023 · Backend Development

PHP Calendar Class Tutorial with Full Implementation

This tutorial explains how to build a reusable PHP Calendar class that handles year, month, navigation and renders an HTML table, and shows a simple front‑end script that loads the class and displays the calendar, complete with CSS styling and example output.

Date HandlingPHPTutorial
0 likes · 10 min read
PHP Calendar Class Tutorial with Full Implementation
System Architect Go
System Architect Go
Jul 21, 2017 · Databases

Handling Timezone Issues in MySQL with Sequelize: Custom Getters for DATE Columns

This article explains how MySQL stores dates in UTC, why Sequelize returns UTC values despite a configured timezone, and demonstrates using custom getter methods (with moment) to automatically format DATE fields, including an advanced approach to apply the getter across multiple models.

Date HandlingMySQLNode.js
0 likes · 4 min read
Handling Timezone Issues in MySQL with Sequelize: Custom Getters for DATE Columns