Re: [PHP] Holding "datetimes" in a DB.

[email protected] (Matijn Woudt)
Newsgroups php.general
Message-ID <CAC_gtuPapg1qKmMDBiU1O2pC2jg+wiUDtcan4ba7nXFZBuEA5w@mail.gmail.com>
On Fri, Mar 1, 2013 at 11:49 AM, Richard Quadling <[email protected]>wrote:

> Hi.
>
> My heads trying to remember something I may or may not have known to start
> with.
>
> If I hold datetimes in a DB in UTC and can represent a date to a user
> based upon a user preference Timezone (not an offset, but a real
> timezone : Europe/Berlin, etc.) am I missing anything?
>
> Richard.
>

I would only use this if you're planning to have servers all around the
world in different timezones, then it would be easier to interchange data.
Otherwise, stick with ur local timezone and it will save you a lot of
unneeded timezone conversions probably.

- Matijn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.