You are here: PHP and dates? Whats wrong with timestamp and julian callendar (for experts) « PHP Programming Language « IT news, forums, messages
PHP and dates? Whats wrong with timestamp and julian callendar (for experts)

Posted by ~=_Slawek_=~ on 02/06/06 19:58

$DOW = (jddayofweek(unixtojd(mktime(1, 1, 1, $month, $day, $year)))+6)%7;

$DOW= (jddayofweek(juliantojd($month, $day, $year))+6)%7;

The results are supposed to be the same, but they are not. Whats wrong? Any
clues?

 

Navigation:

[Reply to this 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

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