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
Browser.ExecJS("Date(tokenat'3')")
Develop games in your browser. Powerful, performant & highly capable.
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?
Yes, it should work fine - it gets the date from the device as far as I know.