1 00:00:00,300 --> 00:00:08,460 OK, guys, now we can talk about how we can add days inside our page, the first thing we will do right 2 00:00:08,460 --> 00:00:16,380 now is to add whether or not we will not type any content inside and then we will add the script for 3 00:00:16,380 --> 00:00:17,070 the script. 4 00:00:17,220 --> 00:00:24,720 We can him something which is called variables like say that I don't I don't want to type document that 5 00:00:24,740 --> 00:00:25,770 requires lectures. 6 00:00:25,980 --> 00:00:29,670 Many times there is something which is called viable. 7 00:00:30,000 --> 00:00:34,050 And I'm going to show you it's apurpose right now. 8 00:00:34,050 --> 00:00:42,960 We can use your variable B, A, R, which is valuable, and then we will give a name for the variable 9 00:00:42,960 --> 00:00:48,630 that we have in the name of document and then we will set equal for the equal. 10 00:00:48,630 --> 00:00:55,040 I want to make document dot Claresholm lecture for the header. 11 00:00:55,040 --> 00:01:03,060 Well so now after this part I will not need to type document that requires a lecture, one I can just 12 00:01:03,060 --> 00:01:04,390 type document. 13 00:01:05,290 --> 00:01:12,840 OK, after this part we want to add a date for this part. 14 00:01:14,260 --> 00:01:22,430 And now we can make a document we don't need to type, documented quietly elector John in our e-mail 15 00:01:22,900 --> 00:01:32,470 and inside here we can type you, don't you date with that date right now when we go in, there will 16 00:01:32,470 --> 00:01:33,150 go to page. 17 00:01:34,240 --> 00:01:37,630 So you would get the date and all the date. 18 00:01:38,780 --> 00:01:39,980 OK, that's good. 19 00:01:40,870 --> 00:01:48,040 Let's say that we want to return the number of milliseconds since now. 20 00:01:48,900 --> 00:01:49,450 OK. 21 00:01:50,810 --> 00:02:00,670 But for the most part, it was their turn that time in milliseconds from Jane one one nine seven zero, 22 00:02:00,710 --> 00:02:05,180 the 1st of January for one nine seven zero. 23 00:02:05,560 --> 00:02:14,120 Here we can make than you could be having a valuable very full of these to be equal to this one. 24 00:02:14,510 --> 00:02:18,740 And then we can make a deal, Doctor, get time. 25 00:02:22,400 --> 00:02:25,400 And then we hear we have a number of milliseconds. 26 00:02:25,760 --> 00:02:30,230 Every time we refresh the things, you get different numbers. 27 00:02:32,300 --> 00:02:41,630 OK, that's good after this, but we can talk about something which is called get the full year, we 28 00:02:41,630 --> 00:02:48,890 can give here a class at Schwann so we can just make it different or we can just comment this part. 29 00:02:48,890 --> 00:02:50,450 OK, comment. 30 00:02:50,810 --> 00:02:52,130 Sorry, not this one. 31 00:02:54,710 --> 00:02:56,180 Yes, right here. 32 00:02:56,840 --> 00:03:02,670 And then we can make here document dot in there. 33 00:03:02,810 --> 00:03:08,240 Dot l compute equal to the. 34 00:03:09,380 --> 00:03:13,010 Yes, you've got the right bill of deep deep job. 35 00:03:13,190 --> 00:03:14,920 Get the full year. 36 00:03:15,380 --> 00:03:22,040 This method returns the year of a date as four digit numbers here. 37 00:03:22,040 --> 00:03:26,510 We can get full year like that. 38 00:03:26,510 --> 00:03:29,930 When we go here we got twenty twenty one. 39 00:03:30,830 --> 00:03:32,060 OK, that's good. 40 00:03:32,480 --> 00:03:38,710 Atavist part we can talk about the method of how we can get the math. 41 00:03:39,080 --> 00:03:51,140 We can just go here and balsom coming to this part and then here we can get dropped aigner each time 42 00:03:51,140 --> 00:03:57,440 out to be equal to the dot dot months. 43 00:04:00,090 --> 00:04:07,300 But this will return the month in numbers between zero to eleven. 44 00:04:08,810 --> 00:04:16,580 So here we got four, it does not have twelve because it will consider zero as the first month of the 45 00:04:16,580 --> 00:04:19,880 year and then after the spurt. 46 00:04:19,880 --> 00:04:23,750 So you'll be having zero until we reach eleven. 47 00:04:24,980 --> 00:04:31,940 But let's say that I want to bring the money in a text and not a date. 48 00:04:32,300 --> 00:04:40,650 There's a property which is called multiply we can make here and another variable and call it months 49 00:04:42,200 --> 00:04:43,500 and make it equal. 50 00:04:44,690 --> 00:04:49,160 And then we can't open the bracket dysfunction this gold arrange. 51 00:04:49,460 --> 00:04:54,350 We can make some very difficult take a long time. 52 00:04:58,780 --> 00:05:02,300 OK, Marsha. 53 00:05:06,840 --> 00:05:07,440 Real 54 00:05:10,210 --> 00:05:10,890 name. 55 00:05:17,590 --> 00:05:21,220 OK, July, 56 00:05:25,210 --> 00:05:27,100 and here we can try for 57 00:05:30,190 --> 00:05:40,660 August, and this is it, not for need to add more because it will print Menge August, OK, after this. 58 00:05:40,660 --> 00:05:50,580 But we can go to this one and add something which is cold months and here we can add this bracket. 59 00:05:51,700 --> 00:05:53,370 What does this bracket means? 60 00:05:53,620 --> 00:06:00,730 This year will bring four, so I will use the fourth no inside this array. 61 00:06:00,740 --> 00:06:05,530 So we'll be having here zero one, two, three, four. 62 00:06:05,800 --> 00:06:09,750 This will be starting from zero and this will be the fourth one. 63 00:06:09,970 --> 00:06:15,100 So this will get the fourth one, which is the main we can go and reload. 64 00:06:15,340 --> 00:06:22,990 So here we got the maze and of course you can use it for the same property of the day, which we will 65 00:06:22,990 --> 00:06:24,040 use right now. 66 00:06:25,090 --> 00:06:33,300 There's a property which is called Get Date, which will be returning the date of the date as a number, 67 00:06:33,640 --> 00:06:42,070 and of course, we can use the same method to make this with the text if we wish. 68 00:06:43,660 --> 00:06:46,720 And then after this part, party can come on this also. 69 00:06:47,870 --> 00:07:00,010 OK, and then here we can document just in our attempt to be equal to drop dead date. 70 00:07:02,950 --> 00:07:12,970 We can go and reload, so now this returns to the number in the form of just number and activist part, 71 00:07:13,180 --> 00:07:18,400 let's talk about the get AMR's method, how we can return others. 72 00:07:19,240 --> 00:07:20,970 We can just go here. 73 00:07:20,980 --> 00:07:22,540 Coming up, the part. 74 00:07:24,520 --> 00:07:36,370 And here at this part, what we can do is commit document Dr. INOR asking, well, and here we can use 75 00:07:36,370 --> 00:07:45,560 the GI doctor, get ours clogged at cracken, and then inside here we can load. 76 00:07:45,880 --> 00:07:49,570 So now we got the seven and now it is seven. 77 00:07:51,410 --> 00:07:58,630 OK, after this part, what we can do, what if we want to get it in minutes? 78 00:07:59,680 --> 00:08:00,130 We can. 79 00:08:00,130 --> 00:08:02,460 Just to the spa. 80 00:08:04,420 --> 00:08:13,540 OK, and here we can document Caner Temel to be equal to document. 81 00:08:14,020 --> 00:08:23,440 Not quite sorry for the new tape and this tape before I get the minutes and this to return the number 82 00:08:23,440 --> 00:08:27,090 of the minutes from zero to thirty nine. 83 00:08:28,090 --> 00:08:35,890 We can go here, know we got the ten and it's already ten and also we have the property. 84 00:08:35,890 --> 00:08:37,450 Four seconds. 85 00:08:37,840 --> 00:08:44,160 We can go here, come into this one here and try for the seconds. 86 00:08:44,440 --> 00:08:53,430 We can make a document which is a document that requires a lecture in order to be for the day. 87 00:08:53,470 --> 00:09:01,770 You don't get seconds and then we can choose this one of the parameters and the syntax. 88 00:09:02,140 --> 00:09:04,060 We can go and reload. 89 00:09:04,450 --> 00:09:07,680 So now we got here in the seconds. 90 00:09:08,440 --> 00:09:13,360 The next property we can try for the get Mellouli seconds. 91 00:09:13,780 --> 00:09:24,250 We can just get to this part and comment at and here we can make a document in our e-mail and distribute 92 00:09:24,250 --> 00:09:36,800 equal game dot, get Meely seconds and then we can go and reload the page in your cup in milliseconds. 93 00:09:37,300 --> 00:09:38,590 OK, that's good. 94 00:09:39,070 --> 00:09:40,080 At this part. 95 00:09:40,420 --> 00:09:45,760 There's a property for the biggest danger. 96 00:09:46,240 --> 00:09:57,680 We can just go here and add something like yes, we can't comment on this part here. 97 00:09:58,150 --> 00:10:05,620 Document Dr. asked him to be able to get them. 98 00:10:06,820 --> 00:10:10,270 We can now to crack it and go back to our Web page. 99 00:10:11,170 --> 00:10:14,890 So here we got six after this part. 100 00:10:15,100 --> 00:10:25,180 What we can do this is the fix of the week because it will be considering this as zero to six. 101 00:10:26,360 --> 00:10:33,070 OK, after this part of the day here, the week here, it's starting from the sun. 102 00:10:34,600 --> 00:10:35,560 We can charge it. 103 00:10:35,560 --> 00:10:48,600 And in the form of text, we can go here and valuable things to be equal to our way of Sunday, Monday, 104 00:10:50,530 --> 00:10:51,520 Tuesday, 105 00:10:55,540 --> 00:11:00,010 OK, one day. 106 00:11:00,010 --> 00:11:04,630 And then here when day? 107 00:11:06,700 --> 00:11:07,630 Thursday 108 00:11:11,920 --> 00:11:13,390 and Friday. 109 00:11:14,500 --> 00:11:18,910 And the last one to be for Saturday, which is today. 110 00:11:21,310 --> 00:11:26,390 And then as we did before we can, this one for Petare Vision Vision. 111 00:11:26,410 --> 00:11:35,890 OK, and here we can add a day like that and this number will be multiplied to this one, which is six 112 00:11:36,070 --> 00:11:40,960 and gives me the starter days we can save and go pack. 113 00:11:41,290 --> 00:11:44,610 So here we got the starter day, which is today. 114 00:11:45,340 --> 00:11:51,520 OK, ok, ok then sold out the date. 115 00:11:52,420 --> 00:11:54,090 So good luck and.