Re: date conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai Rajesh,
 
Thanx....It worked with date.
But when i try to display the time by:
<?=date('H:i:s',time()+60*60*13.5);?>
 
It displays time approx 1hour ahead of IST.
What could be the problem??
 
SuDeEp

Rajesh Kumar <rajesh@xxxxxxxxxxxxxx> wrote:
Sudeep Sarath once wrote:

> I have to convert the server date to my local date i.e Indian standard time(IST)(or to my system time).
> 
> My program is :
> > $display=date("F")." ".date("d").", ".date("Y");
> echo $display;
> ?>

Use:



> SuDeEp


-- 
.''`.
: :' :
`. `'`
`- [ Rajesh Kumar ]

Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux