I want day name from a date in php.
You can use simple date function of php to get day name.
<?php $date="2018-07-17"; echo date('D', strtotime($date)); ?>
Result: Tue
<?php echo date('l', strtotime($date)); ?>
Result: Tuesday
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in