Reply to Re: how do I print UTC time

Your name:

Reply:


Posted by NC on 04/29/06 20:03

jenngra@gmail.com wrote:
>
> How do I print constant a UTC or Zulu time from a unix timestamp

First of all, you probably know that UTC and Greenwich Mean Time (GMT)
refer to the same time zone. The only difference between them is that
UTC is measured using an atomic clock, while GMT is measured by
observing the stars (which means that GMT is subject to small
irregularities in Earth's rotation, while UTC is not). For your
purposes, it's safe to assume that UTC and GMT are the same, so
outputting time using gmdate() should do the trick...

For more information, see the PHP Manual entry on gmdate():

http://www.php.net/gmdate

Cheers,
NC

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация