Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
i need to set the date object forward and if i just + 3 my program wont run for 3 days before a new month. so is there a way to just shift the clock forward 3 days in the date object
-Meepso
the Date object works on timespamps
to get a date 3 days in the future you have to:
FutureTimestamp = Date.ChangeDate(Date.Now,Date.GetDate(Date.Now)+3)
Develop games in your browser. Powerful, performant & highly capable.
the Date object works on timespamps to get a date 3 days in the future you have to: FutureTimestamp = Date.ChangeDate(Date.Now,Date.GetDate(Date.Now)+3)
THANK YOU SO MUCH!!!!!
Or Date.Now+259200000
(259200000 is the number of milliseconds in 3 days)