Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Where to translate Month and Day language, in PHP? I cant found options for this



9:49 pm on Apr 3, 2012 (gmt 0)

5+ Year Member

I can showing month and day in php, from this documentation [php.net ]

for example

Wednesday, 03 March 2012

i want to change it into my language

Rabu, 03 Maret 2012

or it is best if can like this

Rabu, 3 Maret 2012

i am using whm and cpanel, cant found options to translate this, maybe i need to edit some files in PHP configuration, but which one, please help guys


6:05 am on Apr 4, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Take a look at set_locale() and strftime() functions.
The first will help you change your language settings, the second will help you format your date

Featured Threads

Hot Threads This Week

Hot Threads This Month