Re: date conversion
| From: | Sudeep Sarath | Date: | Sat, 21 Feb 2004 07:24:54 +0000 |
| Subject: | Re: date conversion | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22925@lists.php.net to get a copy of this message | ||
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@meetrajesh.com> 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.