- strftime: documentation ( source)
- setlocale: documentation ( source)
<?php
setlocale(LC_TIME, "C");
echo strftime("%B");
setlocale(LC_TIME, "fi_FI");
echo strftime(" in Finnish is %B,");
setlocale(LC_TIME, "fr_FR");
echo strftime(" in French %B and");
setlocale(LC_TIME, "de_DE");
echo strftime(" in German %B.\n");