Set correct date

This commit is contained in:
Infineon\Ouellette 2024-10-30 16:21:11 -07:00
parent 3b67d28aac
commit 5be3ece008

View File

@ -221,7 +221,7 @@ Service GetShiftByDate(Date, GenerateFlag)
return
end
DateConv = Iconv(Date, "DT")
CalStartDate = 18998; *Arbitrary Start Date to base calendar off of. Jan 12, 2020 Beginning of short shift 1
CalStartDate = 19005; *Arbitrary Start Date to base calendar off of. Jan 12, 2020 Beginning of short shift 1
DaysSinceStart = SRP_DateTime("DaySpan", CalStartDate, DateConv, 0)
WeeksSinceStart = SRP_Math("FLOOR", DaysSinceStart / 7)
WeekType = ''