I want to convert a date value to words, so that i can be easily read. i have the following code but i get A non well formed numeric value encountered (View: C:\xampp\htdocs\HRM\resources\views\admin.blade.php) Error.
<?php
$date = new DateTime($leaves->start);
$date2 = new DateTime($leaves->end);
$result = date('F jS Y', $leaves->start);
$results = date('F jS Y', $leaves->end);
?>
Any help is highly appreciated.Thanks
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jwDZr2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire