PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > week numbers doesnt correspond with the official ones
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
week numbers doesnt correspond with the official ones

Réponse
 
LinkBack Outils de la discussion
Vieux 28/09/2007, 16h04   #1
hygum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut week numbers doesnt correspond with the official ones

this query generates weeknumbers, and shows what the system think is
the latest week:
SELECT * , WEEK( datetime )
FROM tigerens_kodetslyst .kodets_lyst_salg
WHERE id >0
ORDER BY `id` DESC

The week column is 38 for posts from today

But my danish mobile phone says its week 39, and thats what this
authorative webpage also says: http://timeanddate.com/calendar/?year=2007&country=2

the 27th of september 2007 is week 39.

Whats wrong?

  Réponse avec citation
Vieux 28/09/2007, 16h16   #2
Captain Paralytic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: week numbers doesnt correspond with the official ones

On 28 Sep, 16:04, hygum <thomashy...@gmail.com> wrote:
> this query generates weeknumbers, and shows what the system think is
> the latest week:
> SELECT * , WEEK( datetime )
> FROM tigerens_kodetslyst .kodets_lyst_salg
> WHERE id >0
> ORDER BY `id` DESC
>
> The week column is 38 for posts from today
>
> But my danish mobile phone says its week 39, and thats what this
> authorative webpage also says:http://timeanddate.com/calendar/?year=2007&country=2
>
> the 27th of september 2007 is week 39.
>
> Whats wrong?


Nothing's wrong.

You DID read the section in the manual on this before posting here
didn't you?

http://dev.mysql.com/doc/refman/5.0/...#function_week
http://dev.mysql.com/doc/refman/5.0/...ion_weekofyear

  Réponse avec citation
Vieux 30/09/2007, 13h54   #3
hygum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: week numbers doesnt correspond with the official ones

On 28 Sep., 17:16, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> On 28 Sep, 16:04,hygum<thomashy...@gmail.com> wrote:
>
> > this query generates weeknumbers, and shows what the system think is
> > the latest week:
> > SELECT * , WEEK( datetime )
> > FROM tigerens_kodetslyst .kodets_lyst_salg
> > WHERE id >0
> > ORDER BY `id` DESC

>
> > The week column is 38 for posts from today

>
> > But my danish mobile phone says its week 39, and thats what this
> > authorative webpage also says:http://timeanddate.com/calendar/?year=2007&country=2

>
> > the 27th of september 2007 is week 39.

>
> > Whats wrong?

>
> Nothing's wrong.
>
> You DID read the section in the manual on this before posting here
> didn't you?
>
> http://dev.mysql.com/doc/refman/5.0/...nctions.html#f...


oops no, thanks

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12567 seconds with 11 queries