Alright, so this would be very useful for me to check if the date has gone past the expiry date.
Here is an example;
Year = 2016
Month = 9
Day = 18
Hour = 18
Minute = 24
-- (9/18/2016 - 18:24) Above is current date
-- (6/18/2016 - 18:24) Below is expiry date
Year = 2016
Month = 6
Day = 18
Hour = 18
Minute = 24
--[[
It should print whether the expiry date has expired or not
--]]
I have tried numerous ways, but it's probably because i'm confused. If anyone can help me with this it would be appreciated!

5 comments
I wait over an hour to get an answer from a website that devotes itself to helping others via roblox lua and i get linked to a roblox wiki page..
Yes, but you get an explanation and the correct wiki page. All you need now is a way to convert a date into unix time (assuming you need a date to begin with). Another note: use os.time instead of tick, as it works better across servers (although tick is good for getting the time client-side)
Forgot about os.time
Really man? I got the best response on the roblox scripting section of the forums in less than 5 minutes.. thanks anyways..
Also, I wanted the full solution but instead you said you didn't have time, so if you don't have time then don't post. I appreciate your answer and all, but this is part of something i need done asap, i don't want to be learning something small that functions in my game for hours, I learned scripting from looking at other code.