Date Schedule
local Blank = ""
local DN = 11
local Month = 10
local Year = 23
local DOWN = 3
local Day = "Wednesday"
local Question = "Whats todays date?"
-- "Dn" = The number of the date
--"DOWN" = Day of Week Number (mon = 1, Tues = 2, Wednes = 3, Thurs = 4, Fri = 5, Sat = 6, Sun = 7)
--DOWN determines the "Day"
-- "Blank" is just a string I used to make gaps in the prints look more professional (lol).
--[How to use:
-- 1. set (Month) to the Month Number
-- 2. set (DN) to Today day of the Month
-- 3. set (Day) to the Day of the week name. Remember to put " on each side of it! EXP: "Monday"
-- 4. set the (Year) to the current year
--- And Yah dunh !!--
--The CODE: ⬇⬇⬇⬇⬇⬇⬇⬇⬇ --
print(" Your question was : " .. Question)
print(Blank)
print("Answer: Todays date is: " .. Day .. " " .. Month .. "/" .. DN .. "/" .. Year)
print("Here is a list for the Dates for the rest of this Week")
print(Blank)
print(" ⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇")
local function NextDate()
print(Blank)
DN = DN + 1
DOWN = DOWN + 1
if DOWN == 4 then
Day = "Thursday"
elseif DOWN == 5 then
Day = "Friday"
elseif DOWN == 6 then
Day = "Saturday"
else
Day = "Sunday"
end
print("Next date is: " .. Day .. " " .. Month .. "/" .. DN .. "/" .. Year)
end
repeat
NextDate()
until (DOWN == 7)
--NextDate()
--NextDate()
--NextDate()
print(Blank)
print(" Scedule Finished")
-- My Brain hurts now.. SO Imma leave you to tamper around with the code. Bye!