PROBLEM 1
I have to find the current time/date and then add an X number of days to the current time/date to find a future expiration time/date.
I have been tring to work with "mktime()" & "gmmktime()", but i just can't figure out how to make it work with the current date/time. I can make it work with a made up date/time, but when i try to break up the timestamp of the current date/time everything goes down the shitter..
How can i code this to work with the current server time?
PROBLEM 2
I need to be able to subtract the current date from the expiration date to find the days, hours, minutes and seconds remaining and display the time left.
I have tried using unix timestamps with "mktime()", as well as mysql date & time functions like: date_add(), date_sub(), to_days(), from days...
nothing seems to work.
Please Help,
Sean