Support

Account

Home Forums General Issues Display day name based on date picker Reply To: Display day name based on date picker

  • Thawnks Onyx808, works great! For those looking how to month or year, here is the list of formats – http://php.net/manual/en/datetime.createfromformat.php.

    So if I input 10/24/2015 into the date picker, here’s the code to display “Saturday, October 24, 2015”.

    <?php echo $dates->format('l');
    echo ', ';
    echo $dates->format('F');
    echo ' ';
    echo $dates->format('j');
    echo ', ';
    echo $dates->format('Y');?>