<?php $array_months = ["empty", "januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december"]; $input = "2017-04-04"; Echo $array_months[date("n", strtotime($input))];
You have javascript disabled. You will not be able to edit any code.