Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 22932, YearOf function corrected for week number

by Uffe Kousgaard Email: Anonymous


YearOf function corrected for week number
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 9.0 188 downloads
Copyright: No significant restrictions


Size: 355 bytes
Updated on Wed, 05 Jan 2005 05:10:59 GMT
Originally uploaded on Wed, 05 Jan 2005 05:06:56 GMT
SHA1 Hash: 35DC55C00BFD6F93E34470BFA04FEC6A73539AC9
MD5 Hash: 525E432421DB811A7B1D9E39594D84C0

    Explore the files in this upload

Description
Normal YearOf function doesn't take week numbers into consideration, when working with grouping by both week number and year. An example: YearOf(2005,1,1) returns 2005, but that date belongs to week 53 in 2004. This function will correct for that. It is usefull if you do grouping of values based on both year and week number.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03