|
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é
[Back to original message]
|