• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Show date difference as "20" instead of "20 years ago"

phplaravelphp-carbon


PHP Snippet 1:

{{Carbon::parse($etudiant->date_naissance)->diffInYears()}}

Related Snippets

Input and output values for php into the browser?

Sagepay Error The Vendor failed to provide a RedirectionURL

How can I convert from a{a{} b{}} to a[a[],b[]] using php preg_match?

PHP mail function is sending blank message body

Laravel Command Schedule Not Working Properly

Implode columnar values between two arrays into a flat array of concatenated strings

Parsing JSON File to array in PHP

How to make a array inside array?

str_word_count() function doesn't display Arabic language properly

Laravel Passport - Not able to get token string in response?

Make Shipping Method fields Mandatory on Woocommerce checkout page

MISSING UPDATES FOR: MEDIA Drupal 9

Declaration of OMDb::query(string $statement) must be compatible with PDO::query

I want to store data in new index as per my key in php [duplicate]

Laravel update hasMany relationship using saveMany

About Contact Privacy policy Terms and conditions