Log in

View Full Version : date() in my language / close please


COBRAws
10-19-2005, 03:06 AM
Hello, I run a spanish board, but on a US server. I was wondering how to make the months appear in Spanish instead of english.

I know I have to change the date() to setlocale() but it is not working, at least in the way I tried.

Thanks in advance.

COBRAws
10-27-2005, 01:01 PM
bump

Andreas
10-27-2005, 01:11 PM
Try vbdate()

xti
10-27-2005, 02:48 PM
There is a way around it, are you trying to fix the months in a thread or elsewhere? Im pretty shure their 3 letter abbvs.

filburt1
10-27-2005, 03:25 PM
Hello, I run a spanish board, but on a US server. I was wondering how to make the months appear in Spanish instead of english.

I know I have to change the date() to setlocale() but it is not working, at least in the way I tried.


Thanks in advance.
Although I'm not sure, it may be possible to override PHP's locale for your account which would solve this. I don't have any details, sorry.

COBRAws
10-27-2005, 07:01 PM
Try vbdate()
tried this and dont work. :(

is there a way to change the locale date language with a htaccess file?