Date and Time - Week Numbers - Delphi unit


To convert a date between TDateTime and year, week number and weekday for all the different week definitions, inclusive the UK Inland Revenue Tax Weeks, I have written a Delphi unit. This unit is available as part of the Y Core Library. You can specify the definition by a 32 bit parameter. You can get this parameter from the Windows Locale database, please note the comments above.

I plan a additional unit with a special downloadable database, to make easy the setting for the user country.