Yngvarr

Generation

generate functionTue, 14 Feb 2023

return month text

function month($month_number): $month_dict = { 1: 'January', 2: 'February', 3: 'March', 4: 'April', 5: 'May', 6: 'June', 7: 'July', 8: 'August', 9: 'September', 10: 'October', 11: 'November', 12: 'December' } return $month_dict[$month_number] month(1)

Questions about programming?Chat with your personal AI assistant