The PHP DateTime Class

As a developer, you're going to run into situations where you need to perform some kind of operation on a date or time. You might need to see how far apart two dates are, add several days to the date, or convert a string sent to us by an end user into something we can […]

The post The PHP DateTime Class appeared first on php[architect].

/2022/10/the-php-datetime-class/

Creată 3y | 24 oct. 2022, 05:20:45


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

PHP Podcast: 2025.08.14

Links from the show: Thalia Strings – YouTube PHP Fibers: The Game-Changer That Makes Async Programming Feel Like Magic | PHP Architect Everything We Announced at Laracon US 2025 &#8211

15 aug. 2025, 00:20:05 | PHP Architect
PHP Fibers: The Game-Changer That Makes Async Programming Feel Like Magic

Picture this: You’re sitting in front of your computer, watching your PHP application crawl through a list of RSS feeds one by one. Each request takes half a second, and with twenty feeds to

14 aug. 2025, 19:40:03 | PHP Architect
Community Corner: Jacked PHP with Savio Resende

In this episode, we talk with Savio Resende about Open Swoole and Savio's book "Jacked PHP" which discusses how to get started using Open Swoole in your PHP projects. Links: "Jacked PHP" – h

12 aug. 2025, 16:40:03 | PHP Architect
Community Corner: Verbs with Daniel Coulbourne

In this episode, we talk with Daniel Coulbourne about the Verb library for Laravel, which provides an opinionated, user-friendly introduction to event sourcing. Links: Verbs Library – https:

8 aug. 2025, 22:20:05 | PHP Architect
PHP Podcast: 2025.08.07

The PHP Podcast streams the recording of this podcast live, typically every Thursday at 3 PM PT. Come join us and subscribe to our YouTube channel. X: https://x.com/phparch Mastodon: https://phpar

8 aug. 2025, 01:20:13 | PHP Architect
How PHP Really Reads Your Code (Abstract Syntax Tree (AST))

Do you ever wonder how PHP parses your code? Wonder no longer because in this video, Scott Keck-Warren from the PHP Architect Channel shows you how to inspect your code using the AST with the PHP-

5 aug. 2025, 17:40:07 | PHP Architect
The Psychology of a Developer

This month’s first feature article comes from Nelson Isioma, breaking down ‘Cool Things You Can Do With HTMX’. As Nelson discusses, HTMX brings additional functionality while usin

30 iul. 2025, 22:40:05 | PHP Architect