You are here: Re: Calculate timestamp 00:00:00 last sunday « PHP Programming Language « IT news, forums, messages
Re: Calculate timestamp 00:00:00 last sunday

Posted by griemer on 07/17/06 09:53

mmmm, i'm a little confused now.
Not about wich day is the first day of the week, but on how 'last
sunday' is calculated.

Obviously, when you're talking about 'last sunday' on a sunday, you're
talking about the sunday which was a week ago.

BUT........

I think i have to say it a little different: How do i calculate the
total amount of seconds that have past since the last transition from
saturday to sunday.

So, every day of the week this is 'last sunday' , exept on sundays,
then its 'today


So the amount will never by more than 3600 * 24 * 7 seconds.

I also like to know the date of that sunday

Regards,
Fré

 

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

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