NYCPHP Meetup

NYPHP.org

[nycphp-talk] talk Digest, Vol 58, Issue 2

mangesh sathe mangeshsathe at hotmail.com
Thu Aug 4 12:25:09 EDT 2011


Thanks all,
I'll work on ur suggestions

> From: talk-request at lists.nyphp.org
> Subject: talk Digest, Vol 58, Issue 2
> To: talk at lists.nyphp.org
> Date: Wed, 3 Aug 2011 12:00:01 -0400
> 
> Send talk mailing list submissions to
> 	talk at lists.nyphp.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.nyphp.org/mailman/listinfo/talk
> or, via email, send a message with subject or body 'help' to
> 	talk-request at lists.nyphp.org
> 
> You can reach the person managing the list at
> 	talk-owner at lists.nyphp.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of talk digest..."
> 
> 
> Today's Topics:
> 
>    1. Timezone handling php :  Mangesh Sathe (mangesh sathe)
>    2. Re: Timezone handling php :  Mangesh Sathe (David Krings)
>    3. Re: Timezone handling php : Mangesh Sathe (federico ulfo)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 2 Aug 2011 16:13:46 +0000
> From: mangesh sathe <mangeshsathe at hotmail.com>
> To: <talk at lists.nyphp.org>
> Subject: [nycphp-talk] Timezone handling php :  Mangesh Sathe
> Message-ID: <BAY163-W4027335C4B4B2F464EF91CDF3B0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> Hello everyone ,
> 
>   Need some help from you.
>  
>  Suppose someone is Writing an article like  newspaper article. If user who is in London wrote one article & set publish date & time according to UK timezone ,
> Now another user who is in Tokyo wrote one article & set publish date & time according to Japan timezone,
> 
> so how can i publish/make available their articles with respect to their timezone?
> 
> Please  give me some guidance on php timezone handling..
> 
> Thanks in advance.
> Mangesh Sathe
> 
> 
>     
>  		 	   		  
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.nyphp.org/pipermail/talk/attachments/20110802/35a07120/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 02 Aug 2011 13:18:22 -0400
> From: David Krings <ramons at gmx.net>
> To: NYPHP Talk <talk at lists.nyphp.org>
> Subject: Re: [nycphp-talk] Timezone handling php :  Mangesh Sathe
> Message-ID: <4E38315E.80301 at gmx.net>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 
> Hi!
> 
> Years ago I was looking into the a similar issue and one way is to run a 
> Javascript on the client side that returns the GMT bias of the 
> client...assuming they set it correctly. The script reads it from a cookie 
> that gets written.
> It is from a (still unfinished) project and this part is years old, so my 
> memory as to how exactly it works is fading. The JavaScript part is also not 
> my invention, I received that from someone on this list.
> 
> The attached file contains a function that creates a heading for a page. The 
> time displayed in the heading is the time of the client, but based off the 
> server time. So the client's time is irrelevant as long as the GMT bias is 
> correctly set and, of course, the server has the correct time and local bias.
> 
> I hope you can follow the handful of lines of code and hopefully it helps with 
> what you try to accomplish.
> 
> David
> 
> 
> On 8/2/2011 12:13 PM, mangesh sathe wrote:
> > Hello everyone ,
> >
> > Need some help from you.
> >
> > Suppose someone is Writing an article like newspaper article. If user who is
> > in London wrote one article & set publish date & time according to UK timezone ,
> > Now another user who is in Tokyo wrote one article & set publish date & time
> > according to Japan timezone,
> >
> > so how can i publish/make available their articles with respect to their timezone?
> >
> > Please give me some guidance on php timezone handling..
> >
> > Thanks in advance.
> > Mangesh Sathe
> >
> >
> >
> >
> >
> > _______________________________________________
> > New York PHP Users Group Community Talk Mailing List
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> > http://www.nyphp.org/Show-Participation
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.nyphp.org/pipermail/talk/attachments/20110802/a90a344d/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 2 Aug 2011 13:02:52 -0400
> From: federico ulfo <rainelemental at gmail.com>
> To: NYPHP Talk <talk at lists.nyphp.org>
> Subject: Re: [nycphp-talk] Timezone handling php : Mangesh Sathe
> Message-ID: <8470427030365452924 at unknownmsgid>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Use one timezone, the server one or where is located the website! When
> you show the time and the article time you can get the user timezone,
> and show the article with their timezone
> 
> Sent from my iPhone
> 
> On Aug 2, 2011, at 12:13 PM, mangesh sathe <mangeshsathe at hotmail.com> wrote:
> 
> > Hello everyone ,
> >
> >   Need some help from you.
> >
> >  Suppose someone is Writing an article like  newspaper article. If user who is in London wrote one article & set publish date & time according to UK timezone ,
> > Now another user who is in Tokyo wrote one article & set publish date & time according to Japan timezone,
> >
> > so how can i publish/make available their articles with respect to their timezone?
> >
> > Please  give me some guidance on php timezone handling..
> >
> > Thanks in advance.
> > Mangesh Sathe
> >
> >
> >
> > _______________________________________________
> > New York PHP Users Group Community Talk Mailing List
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> > http://www.nyphp.org/Show-Participation
> 
> 
> ------------------------------
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> End of talk Digest, Vol 58, Issue 2
> ***********************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20110804/5931afe3/attachment.html>


More information about the talk mailing list