Skip to content

PHP code snippet – How convert the date and time to integer in laravel?

$timestamp = $user->created_at->timestamp
See also  PHP code snippet - How to make active color in menu laravel?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.