Hướng dẫn php date translate
I have this MySQL query, which returns two dates (which are both formatted as a-m-Y). Now I want to translate this date into my own language (Danish). How can I do that. I have tried both the setlocale() and strftime() functions, but it won't work. I know it's a very basic question, but i really need help :) Thanks a lot! asked Aug 2, 2011 at 10:53 Use
Works on my php installation on Windows.
answered Aug 2, 2011 at 11:03 5 I found that
answered Jun 7, 2016 at 11:55 Simon EpskampSimon Epskamp 8,0463 gold badges52 silver badges56 bronze badges 1 I don't think the Instead, I would recommend you take a look at the
There are a couple of
examples on the manual page of
answered Aug 2, 2011 at 10:56 Pascal MARTINPascal MARTIN 388k77 gold badges646 silver badges656 bronze badges 2 This Will Surely works for you if you want norwegian date and month format
if you want to get other language locale ids like nb_NO then refer this site International Components for Unicode (ICU) Data answered Nov 4, 2020 at 13:38 DhruvDhruv 1,7341 gold badge5 silver badges6 bronze badges If you are trying to convert a
Pranav Singh 15.1k24 gold badges76 silver badges98 bronze badges answered Jan 7, 2014 at 2:48
Ok I modified the code to show all of it and also inserted the suggestions and now it works just fine!! Perfect Cheers Chris Kevin 41.4k12 gold badges53 silver badges68 bronze badges asked Sep 29, 2014 at 13:49 3 First off make sure that indeed Try to use Second, since
|