Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

patpaskoch's avatar

Time, Timeformat, PHP, MySqland Laravel resources

Hi,

does anybody has a good resource for learning more about working with date, datetime and mysql, php, and laravel-eloquent. There is video in the laravel foundation course, but I would like a more basic approach.

Thanks patrick

0 likes
1 reply
spekkionu's avatar
Level 48

I tend to find the best way to start learning something is by reading the documentation.

Start with the DateTime class then move onto Carbon which extends DateTime.

The most common thing I need to look up is the date formatting strings which you can find on the documentation for the date function.

For mysql you can take a look at the date and time functions.

Please or to participate in this conversation.