Question and answer is powered by AnsPress.io
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