---
title: "Time Interval Helpers in Laravel 12.40"
url: https://daily.dev/posts/time-interval-helpers-in-laravel-12-40-dhq29xirg
source_url: https://laravel-news.com/laravel-12-40-0
type: article
source: "Laravel News"
published: 2025-11-26T14:11:23.447Z
updated: 2025-11-26T14:11:51.127Z
tags: ["php", "laravel"]
reading_time: 4
upvotes: 33
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Time Interval Helpers in Laravel 12.40

**[Laravel News](https://daily.dev/sources/ln)** · 4 min read · 33 upvotes · 0 comments

## Summary

Laravel 12.40.0 introduces new time interval helper functions for working with dates (seconds, minutes, hours, days, years) and Carbon methods (plus/minus). The release adds the ability to schedule tasks on specific days of the month using daysOfMonth(), an encoding validation rule for uploaded files, and commands to pause and resume queue workers. Additional improvements include Redis cluster fixes, type hint enhancements, and various bug fixes for cache, sessions, and routing components.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/laravel-12-40-0>

## Similar posts on daily.dev

- [Laravel 12.45.1, 12.45.2, and 12.46.0 Released](https://daily.dev/posts/laravel-12-45-1-12-45-2-and-12-46-0-released-bobc9akfp) · Laravel News · 18 upvotes · 0 comments
- [Laravel 12.51.0 Adds afterSending Callbacks, Validator whenFails, and MySQL Timeout](https://daily.dev/posts/laravel-12-51-0-adds-aftersending-callbacks-validator-whenfails-and-mysql-timeout-y0ofekzyb) · Laravel News · 12 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/time-interval-helpers-in-laravel-12-40-dhq29xirg)
