 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
news.free.fr Guest
|
Posted: Mon Nov 17, 2003 12:40 pm Post subject: pb with Datepart |
|
|
Hi,
When I use the DatePart() function to extract the week number of a date,
I've got a problem in special cases :
With the particular '12/31/2003' date the datepart function returns "53"
whereas the right weeknumber is "1" (of the next year)
If someone has any ideas....
thx
Kevin.
|
|
| Back to top |
|
 |
news.free.fr Guest
|
Posted: Mon Nov 17, 2003 12:47 pm Post subject: Re: pb with Datepart |
|
|
Sorry about my previous message : I made a mistake in the name of the
newsgroup...
"news.free.fr" <ipkenny (AT) free (DOT) fr> a écrit dans le message news:
3fb8c12d$0$10409$626a54ce (AT) news (DOT) free.fr...
| Quote: | Hi,
When I use the DatePart() function to extract the week number of a date,
I've got a problem in special cases :
With the particular '12/31/2003' date the datepart function returns "53"
whereas the right weeknumber is "1" (of the next year)
If someone has any ideas....
thx
Kevin.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|