added LSL2 stored procedures

This commit is contained in:
Infineon\StieberD
2024-03-25 14:46:21 -07:00
parent 09f1a66046
commit c667dd56eb
1655 changed files with 527967 additions and 0 deletions

View File

@ -0,0 +1,19 @@
compile function mast_sched_today_date( DateToUse )
* DATE TO USE SHOULD BE PASSED AS AN ICONV OR DATE(), ETC
if assigned( DateToUse ) else
DateToUse = date()
end
if DateToUse = '' then
DateToUse = date()
end
DayPos = mod( DateToUse, 7 )+1
Days = 'Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday'
convert ',' to @fm in Days
CurDay = Days<DayPos>
CurDate = oconv( DateToUse, 'D4,HL' )
convert ',' to ' ' in CurDate
CurDate = CurDay:' ':CurDate
return CurDate