will try dat way..

Thanks for ur replies

On Jun 18, 7:24 pm, "Brendon Kozlowski (Realm)"
<[email protected]> wrote:
> That would depend on how you stored your users' country info.  There
> are plenty of sites out there that give data on which timezone a
> country is in, there may even be some APIs.  Using that data, you can
> compare the users' country info to determine the proper datetime of
> the user, and then either use strtotime() alongside date(), or even
> mktime() alongside date().
>
> There are quite a few ways (depending on the data you have, and the
> data you'll use) on how to do this.  As long as it works, I don't
> think there's technically any "right" way to do it, other than
> following the MVC standards as best as possible.
>
> On Jun 18, 2:22 am, RJ <[email protected]> wrote:
>
> > I have a site that relays mails everyday to all the users based on the
> > activities in their network.
> > Mails are relayed at 22:30(US time)...so any user from asian countries
> > will recieve at 8:30...
>
> > The problem i am facing is with date, when the mails are relayed, i
> > put date as the subject line and hence for asian countries the date
> > appears improper
>
> > What i have is the country info of user, so based on that can i get
> > the local datetime
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to