It is currently Tue Aug 20, 2019 11:44 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: setlocale question
PostPosted: Wed Dec 27, 2006 1:36 pm 
Newbie
Newbie

Joined: Wed Dec 27, 2006 1:26 pm
Posts: 1
Hi,
I'm trying to setup a script that would print my local timezone and language but I'm getting the server's timezone and language (I think). Is there a way to change this in my script?
Here's my code:

Code:
<?php
setlocale (LC_TIME, 'fr');
$hour = strftime ('%d %B %Y, %HH%M');
echo $hour;
?>


Any advise would be appreciated.

Thanks
Ben


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011