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
8/18/2017 6:39:44 PM
Vaddiparthi Rajeev10 Answers
New AnswerPlease do not forget, to give the best answer checkmark. To the user that best answers your question.
yes I want to compare with date of birth with 2017 year .if less than thrown alert
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
U can read books to uplift basic knowledge and do challenges online like from codechef.com.And most important keep coding
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
For freshers building basic isbsuffice but to level up contest like acm-icpc or codejam you need to learn other stuff
Then go for internship at internshala or twnty19.co my frnd did it and got good jobs
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message