Caldeirão da Bolsa

Off topic - Dúvida - Nº de semana...

Espaço dedicado a todo o tipo de troca de impressões sobre os mercados financeiros e ao que possa condicionar o desempenho dos mesmos.

por maisum_CALD » 12/10/2005 13:38

Dwer, está aí tudo.
Obrigado pela colaboração.
Abraço
Avatar do Utilizador
 
Mensagens: 481
Registado: 23/9/2004 1:02

por Dwer » 12/10/2005 13:30

Week dates

Week dates are dates in which a day is determined by counting within a week. Weeks are given two digits beginning with 01 as the first week of the year (see below), up to 52 or 53 being the last week of the year. By convention, the week starts with Monday. Each day is given one digit beginning with 1 as Monday leading to 7 as Sunday. The extended format representation of week dates is YYYY-Www-d, where W is the actual letter W, ww refers to the two digit week number, and d is the day's number. This means that 1981-04-05, the Sunday of the 14th week in 1981, is represented as 1981-W14-7, or 1981W147. This format can also specify a week, as 1981W14.

The first week of a year is the first week which includes at least four days in the new year (again using the convention that Monday is the first day of the week). It follows that the first week of the year is always the week which includes the first Thursday of January, and also the week which includes January 4. This means that week 01 may include days from the previous year, or that week 52 or 53 may include days from the next year. For example, 2004-01-01 occurs on a Thursday. This means that 2004-W01 consists of Monday, 2003-12-29 through Sunday, 2004-01-04. 2005-01-01 occurs on a Saturday, meaning that 2004-W53 is 2004-12-27 through 2005-01-02, and 2005-W01 starts on 2005-01-03.
Abraço,
Dwer

There is a difference between knowing the path and walking the path
Avatar do Utilizador
 
Mensagens: 3414
Registado: 4/11/2002 23:16

Off topic - Dúvida - Nº de semana...

por maisum_CALD » 12/10/2005 13:18

A propósito do Flying Turtle ter vindo a numerar as semanas com avanço sucessivo face á minha contagem decidi finalmente indagar e constatei que realmente é muito frequente verificar-se diferença de numeração para a mesma semana...

http://www.google.pt/search?hl=pt-PT&q= ... isar&meta=


Semana 42

http://www.lbwf.gov.uk/moderngov/mgCale ... 005&ACT=Go

Semana 41

http://www.energywindow.com/wcal/view/i ... 1&mwd=week

http://www.emagazine.com/calendar/week.php


A semana actual que é aqui numerada no fórum como a nº 42 é na minha contagem a nº 41.

Constatando que o dia 1 de janeiro deste ano de 2005 foi um sábado, parece-me, assim de repente, que poderei ter começado mal a contagem... mas não, talvez seja a minha contagem a correcta pois então de outra forma a semana 1 do ano 2005 incluiria 5 dias úteis do ano 2004 ??? poderá lá ser?

Quem clarifica isto...
Avatar do Utilizador
 
Mensagens: 481
Registado: 23/9/2004 1:02


Quem está ligado:
Utilizadores a ver este Fórum: Bing [Bot], Burbano, OCTAMA, PAULOJOAO, Phil2014, rg7803, SerCyc, VALHALLA e 88 visitantes