strftime() : bool(false) not showing nothing

php, strftime

Solution

Windows doesn't support `%G` or `%R`, you should use `%Y` and `%H:%M` respectively.

strftime("%d/%b/%Y - %H:%M")

Problem

I want to display on my page the current date in this format: 22/02/2013 - 12:00 (day/month/year - hour) I use `strftime("%d/%b/%G - %R", time())` but shows nothing on the page. If I do ``` echo var_dump(strftime("%d/%b/%G - %R", time())) ``` it shows bool(false). Any idea what I'm doing wrong??

Original source