龙听期货论坛's Archiver

龙听 发表于 2022-11-1 13:19

【DayOfWeekFix】

[code]Inputs: TDate(NumericSimple);

value1 = DateToJulian(TDate);

DayOfWeekFix = ((Value1 - 1) - (IntPortion((Value1 - 1) / 7) * 7));
[/code]

页: [1]