0
I want JavaScript code for less than 18 years
person have date of birth less than 18 years I want alert person not eligible for voting .comparing year is 2017 Aug 18 with end user date if birth
10 Respuestas
+ 3
Please do not forget, to give the best answer checkmark. To the user that best answers your question.
0
Do u want to compare it with DOB?
0
yes I want to compare with date of birth with 2017 year .if less than thrown alert
- 1
So u can do this
get users DOb
get today'date
parse them both into milliseconds using parse method
subtract them if result is >=1555200000
then throw alert
- 1
U can read books to uplift basic knowledge and do challenges online like from codechef.com.And most important keep coding
- 1
In clg our main focus is to become perfect at something not kowing everything
no,basic knowlegde wont get u a good job
thats why people perfect their skills on only one topic so that they can compete anywhere and get best for them
from my advice learn some good programming using c and then go for learning algorithms and data structure then for which ever language u want to perfect urself at
- 1
For freshers building basic isbsuffice but to level up contest like acm-icpc or codejam you need to learn other stuff
- 1
Start learning now
- 1
Have u done any internship before
- 1
Then go for internship at internshala or twnty19.co my frnd did it and got good jobs