Contents  All Classes  Index A-Z  All Units


DateToWeek function

function DateToWeek(ADate: TDateTime; Var Year: Word): Integer;

Unit
DBChart

Description
Returns the Week number of a given date using the ISO-8601 definition.

The Year parameter might return a different Year number than the ADate passed parameter, if the week is close to the end of December or beginning of January.




Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.