homepage Welcome to WebmasterWorld Guest from 54.226.230.76
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

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




msg:4436873
 9:49 pm on Apr 3, 2012 (gmt 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

 

omoutop




msg:4436956
 6:05 am on Apr 4, 2012 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved