DateToWeek
 
 
 

All Units  All Classes  Properties, Methods and Events  

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.





Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.