<?php
setlocale(LC_ALL, nl_NL);
function my_strftime ($format, $timestamp)
{
$format = str_replace('%O', date('S', $timestamp), $format);
return strftime($format, $timestamp);
}
echo my_strftime('%d%O -%m-%Y', time());
- Output for 7.2.0 - 7.2.13, 7.3.0 - 7.3.1
- Warning: Use of undefined constant nl_NL - assumed 'nl_NL' (this will throw an Error in a future version of PHP) in /in/5UpBL on line 2
06th -07-2013
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.25, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25
- Notice: Use of undefined constant nl_NL - assumed 'nl_NL' in /in/5UpBL on line 2
06th -07-2013
preferences:
173.96 ms | 404 KiB | 234 Q