Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
Hi , a textbox that present the date using Browser.ExecJS("Date()")
how can i compare if is the first day of the month?
So , i need to compare the 3rd word of Browser.ExecJS("Date()") if its less than 1.
I think this working
savvito123 a better way would be to just return the day of month by doing:
Browser.ExecJS("var d=new Date(); d.getDate()")
that will return a number between 1 and 31.
This is working and with an offline browser?
Develop games in your browser. Powerful, performant & highly capable.
Yes, it should work fine - it gets the date from the device as far as I know.