Sorry, this page is only available in one language

Dutch Date

Suggested dropletname: date

Published by: Aaaarco

This Droplet will create the current date in readable Dutch format.
(It should be simple to change this to other languages too)

$datum = date("j F Y");
$dagvanweek = date("l");
$arraydag = array("Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag");
$dagvanweek = $arraydag[date("w")];
$arraymaand = array("Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December");
$datum = date("j ") . $arraymaand[date("n") - 1] . date(" Y");
return "$dagvanweek, $datum";



« Previous droplet | Overview | Next droplet »