in this article, we will learn how to extract the month name from the date in PHP


Example

<?php
echo date('F', strtotime('2021-01-17'));
?>


Output:

January