From 14dea99ccd652d699cd8dc28fa966514b6d9bedf Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 22 Mar 2022 09:31:16 +0100 Subject: [PATCH] Update Utils.lua - Removed useless UTILS.GetDate() function --- Moose Development/Moose/Utilities/Utils.lua | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Moose Development/Moose/Utilities/Utils.lua b/Moose Development/Moose/Utilities/Utils.lua index 8b7ebb2b6..b4201ef6c 100644 --- a/Moose Development/Moose/Utilities/Utils.lua +++ b/Moose Development/Moose/Utilities/Utils.lua @@ -1321,26 +1321,6 @@ function UTILS.GetMissionDayOfYear(Time) end ---- Returns the current date. --- @return #string Mission date in yyyy/mm/dd format. --- @return #number The year anno domini. --- @return #number The month. --- @return #number The day. -function UTILS.GetDate() - - -- Mission start date - local date, year, month, day=UTILS.GetDCSMissionDate() - - local time=timer.getAbsTime() - - local clock=UTILS.SecondsToClock(time, false) - - local x=tonumber(UTILS.Split(clock, "+")[2]) - - local day=day+x - -end - --- Returns the magnetic declination of the map. -- Returned values for the current maps are: --