See, now I got why the professor to got the hour for the exercise he create var hora (hour) and the variable data (date), why this 2 steps? And here why, if you know why is hard to forget, and he with the 1st variable he got the date that is day, hour, month, year, minutes, so you can't have one variable date that went directly to the hour you gonna got all the facts of the date, so to got the month or the hour or the year of a new Date () he created another variable that would use only the hour of the var data so is get hours of the 1st variable. Rute Bezerra de Menezes Gondim
No comments:
Post a Comment