Welcome to WebmasterWorld Guest from 54.211.182.82

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)

Junior Member

5+ Year Member

joined:May 17, 2007
posts: 101
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 15, 2004
posts:941
votes: 0


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
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members