No video

Date and time in depth in javascript | chair aur

  Рет қаралды 146,930

Chai aur Code

Chai aur Code

Жыл бұрын

Visit chaicode.com for all related materials, community help, source code etc.
github.com/hiteshchoudhary/js...

Пікірлер: 372
@NonToxic404
@NonToxic404 11 ай бұрын
This course has no price label because this masterpiece is priceless ❤
@NonToxic404
@NonToxic404 11 ай бұрын
Can't Believe I got a heart ❤️ so much love from Bihar❣️
@shivanshbhatnagar2725
@shivanshbhatnagar2725 5 ай бұрын
@@NonToxic404 tu kam kr apna
@user-wr6hl9qd9u
@user-wr6hl9qd9u 2 ай бұрын
@@shivanshbhatnagar2725 😂😂😂😂😂😂
@Rahul-bx7on
@Rahul-bx7on Ай бұрын
@@shivanshbhatnagar2725 🤣🤣🤣
@keshavkattel
@keshavkattel 9 ай бұрын
// Date : Date is an object in javascript. // JavaScript stores dates as number of milliseconds since January 01, 1970 const myDate = new Date(); console.log(myDate) //Output : 2023-10-09T14:38:09.847Z // We can use various methods to convert this date into more readable value. console.log(myDate.toString()) //Output : Mon Oct 09 2023 07:39:18 GMT-0700 (Pacific Daylight Time) console.log(myDate.toLocaleString()) // Output : 10/9/2023, 7:44:20 AM console.log(myDate.toLocaleDateString()) //Output : 10/9/2023 console.log(myDate.toLocaleTimeString()) // Output : 7:45:31 AM console.log(myDate.toDateString()) //Output : Mon Oct 09 2023 console.log(myDate.toTimeString()) // Output : 07:46:40 GMT-0700 (Pacific Daylight Time) console.log(myDate.toISOString()) // Output : 2023-10-09T14:43:39.337Z console.log(myDate.toJSON()) //Output : 2023-10-09T14:40:58.495Z
@ashok-bhaargaw
@ashok-bhaargaw 9 ай бұрын
bhai, toISOString and toISOString me output same kyu aata he?
@raginiroy9929
@raginiroy9929 6 ай бұрын
@@ashok-bhaargaw bhai toISOString () or toISOString mein difference kya dikh rha zara batana?you might wrote the same function twice!
@AmanKumar-qz4jz
@AmanKumar-qz4jz 6 ай бұрын
@@raginiroy9929 wahi toh ragini
@Batman_69_
@Batman_69_ 4 ай бұрын
@@raginiroy9929 He was trying to ask the difference between toISOString() and toJSON()
@honblegaurav9917
@honblegaurav9917 Ай бұрын
tumhara time pacific daylight time me kaise aa rha?
@Vedicaa
@Vedicaa 9 ай бұрын
I have tried learning javascript from multiple sources on KZbin, but the simplicity and organisation with which you teach is mind blowing. You cover the topics that other teachers don’t bother to cover. Thank you!
@RaviSingh-wc5fe
@RaviSingh-wc5fe 8 ай бұрын
Sir thumbnail me date ki jagah data likha hai 😎😎😎
@RandomRaju-zb8vf
@RandomRaju-zb8vf 10 ай бұрын
You have put so much effort into your videos.....Thank you for providing these free contents.....Love You from Uttar Pradesh
@adnanahmad1234
@adnanahmad1234 8 ай бұрын
Never found learning Javascript this interesting before this. Thank you Hitesh sir ❤
@Securitywasted128
@Securitywasted128 10 ай бұрын
Thanks sir for such amazing and in depth video.Your content is full depth of knowledge wether hindi or english.
@user-mo1sy5ck7r
@user-mo1sy5ck7r 5 ай бұрын
best Series ALL OVER UNIVERSE, thank you Sir 🙏
@abhishekkalagurki959
@abhishekkalagurki959 7 ай бұрын
sir's voice is so smooth to hear , it feels i am listening to a story
@kankal5076
@kankal5076 10 ай бұрын
This course is very help full in free of cost
@nnmm-ft1mx
@nnmm-ft1mx 6 күн бұрын
preety good course, covers everything in depth
@ankursinger102
@ankursinger102 Жыл бұрын
Sir mene kafi javaScript ke course dekhe but aapka style boht crystal clear hai....we cant thank you enough sir to teach us that much in free❤
@crescent4033
@crescent4033 11 ай бұрын
code with harry is best .....
@umer402
@umer402 Жыл бұрын
toString() : Sun May 07 2023 14:16:39 toDateString() : Sun May 07 2023 toTimeString() :14:19:03 GMT+0500 (Pakistan Standard Time) toLocaleString() : 5/7/2023, 2:20:24 PM toISOString() : 2023-05-07T09:21:22.167Z toUTCString() : Sun, 07 May 2023 09:24:48 GMT
@honblegaurav9917
@honblegaurav9917 Ай бұрын
how are you getting time in your time zone?
@hitfromcs
@hitfromcs 21 күн бұрын
@@honblegaurav9917 it appears by default for me. It uses internet connectivity to find your current timezone
@user-rn2th4vc5f
@user-rn2th4vc5f 4 күн бұрын
allah hu akbar. Time Bomb mai sahi code likhna bhaijaaannnn. Makshad mat bhulna bhaijaaan.
@nirmalchouhan3112
@nirmalchouhan3112 Жыл бұрын
i thing i want to say that i m in love with yr lecture after watching that😍😍😍😍😘😘...thanks a lot guru g
@YamrajShrestha
@YamrajShrestha 10 ай бұрын
These tutorials have not only helped me learn a lot but have also ignited a passion for JavaScript. The explanations are clear, the examples are practical, and the learning experience has been truly enjoyable.
@user-dp4lm8yx7l
@user-dp4lm8yx7l 10 ай бұрын
isi topic par video dhundh raha tha..much needed video for me..thank you bhai ji..you got new subscriber from heart.sab dosto ko bhi share kardi gai hain..keep it up brother😍
@IamMark-id8wi
@IamMark-id8wi 9 ай бұрын
Thank you sir for giving us a amazing J.S tutorial @chai aur code ❤❤
@user-rg7bi1qp2l
@user-rg7bi1qp2l 11 ай бұрын
very helpful video for beginners. thank you for making this type of valuable content for free...
@Aryannamdev72
@Aryannamdev72 9 ай бұрын
maja aa gaya sir ek number sir love from (MP) Shahdol district
@nobbiesid1324
@nobbiesid1324 6 ай бұрын
Thankyou bhaiya for providing this amazing content 🥰😃
@BitFire007
@BitFire007 4 ай бұрын
"Chai aur Code, you've earned a special place in every JavaScript learner's heart. Outstanding work!"
@maheh360
@maheh360 Жыл бұрын
Thank you so much sir 😍❤️🙇 main bohot happy hotahu apse sikhkr🥰
@mnojs4558
@mnojs4558 9 ай бұрын
I have watched your Javascript series on your other channel and now watching this. Your content is truly amazing, and I love how you explain concepts from the very scratch.Thank You very much for your hard work.❤
@akashdhayal4663
@akashdhayal4663 4 ай бұрын
Thank you so much Hitesh sir
@shashankkumarpandey4184
@shashankkumarpandey4184 7 ай бұрын
Understood everything, thank you sir
@anandkalyanji
@anandkalyanji 9 ай бұрын
outputs : Simple print : 2023-10-10T14:57:57.246Z Date to string : Tue Oct 10 2023 20:27:57 GMT+0530 (India Standard Time) Date to date-string : Tue Oct 10 2023 Date to local date string : 10/10/2023 Date to local time string : 8:27:57 pm
@CodingSphere381
@CodingSphere381 5 ай бұрын
Sooooo nice bro your content and way of teaching is undescribable(very easy and understanding. 💓💓 May God bless you all happinesse and bless you success in every step of life. Ramember me also in your special prayers
@decoder_pankaj
@decoder_pankaj 6 ай бұрын
Its amazing JS Series🎉🎉
@sounaksaha1455
@sounaksaha1455 Жыл бұрын
beautiful video as always, thank you sir
@universalbeats.....8242
@universalbeats.....8242 4 ай бұрын
Thank you sir making this playlist
@usama5619
@usama5619 10 ай бұрын
Thanks for this amazing tutorial !
@aryangaur228
@aryangaur228 11 ай бұрын
Thanks for this amazing tutorial sir!
@AmitKumar-vh6ty
@AmitKumar-vh6ty 8 күн бұрын
Great content ❤
@Instrumentation010
@Instrumentation010 8 ай бұрын
Learnt many things first time which not taught by others
@SyedAsif08
@SyedAsif08 7 ай бұрын
amazing content and explanation
@alexraider8684
@alexraider8684 9 ай бұрын
I have watched until 12th Video and JAVASCRIPT never felt so easy before :D (Now i can relate with what you said in the first video: "Knowing JS is diff. but teaching JS is whole diff. thing")
@thisstory
@thisstory 10 ай бұрын
I was watching other tutorial in other channel which were also good that makes me bore but this is not that boring till now and hope it does not get boring
@kamalnathdhekwar5497
@kamalnathdhekwar5497 Жыл бұрын
Thank you so much sir... But please upload videos daily
@rohitshrivastavdotcom
@rohitshrivastavdotcom 10 ай бұрын
Such a amazing course. Thankyou for teaching us ❤, Sir there is little mistake in thumbnail (DATA TIME -> DATE TIME)
@krishnavamsi1126
@krishnavamsi1126 2 ай бұрын
Thank you
@rabiaakmal4191
@rabiaakmal4191 11 ай бұрын
i would appreciate a detailed explanation i m still confused about the concept ...new sub from USA
@ali_tek
@ali_tek 10 ай бұрын
Great work !
@ankushladani496
@ankushladani496 Жыл бұрын
Dhanyawad guruji 🙏
@tech_channel110
@tech_channel110 9 ай бұрын
very very well explained
@divyanshurai6325
@divyanshurai6325 Жыл бұрын
Thank you so much, sir 🙏🙏
@prasadtambde3894
@prasadtambde3894 9 ай бұрын
Anyone observer Video creation time is Morning 5 AM. What a dedication Love from Maharashtra ❣
@chaiaurcode
@chaiaurcode 9 ай бұрын
😁😁
@shlok1436
@shlok1436 3 ай бұрын
Ya it's really chai 😄 time with code 😄
@Anil-vh1fu
@Anil-vh1fu 10 ай бұрын
2023-09-22T20:43:47.650Z Date printing in 'toString' method: Fri Sep 22 2023 20:43:47 GMT+0000 (Coordinated Universal Time) Date printing in 'toDateString' method: Fri Sep 22 2023 Date printing in 'toISOString' method: 2023-09-22T20:43:47.650Z Date printing in 'toJSON' method: 2023-09-22T20:43:47.650Z Date printing in 'toLocaleString' method: 9/22/2023, 8:43:47 PM Date printing in 'toUTCString' method: Fri, 22 Sep 2023 20:43:47 GMT
@jyotirmaysarkar8422
@jyotirmaysarkar8422 3 ай бұрын
Cant we manipulate the format of dates ? For example let date = new Date(); console.log(date.toLocaleString()); //- Output - 4/16/2024, 7:28:22 AM here i want to print the date according to DD-MM-YYYY is it possible to do so ?
@AahanSaha07
@AahanSaha07 Жыл бұрын
Thank You sir 😊😊
@ayush.tiwarios2105
@ayush.tiwarios2105 12 күн бұрын
00:02 Organized content creation on KZbin is crucial. 02:04 JavaScript's proposal for a new temporal API as a global object 03:57 Converting date object to string and exploring various string methods in JavaScript 06:02 Understanding the Date object in JavaScript 08:12 Declaring and obtaining date and time values in different formats 10:19 Understanding and calculating millisecond values and date objects in JavaScript 12:19 Converting time units and using date methods in JavaScript. 14:17 Understanding date and time manipulation in JavaScript 16:22 Defining and customizing date and time properties in JavaScript. 18:08 Undeand time in JavaScript
@jiteshtechbeast
@jiteshtechbeast Жыл бұрын
This man is ❤❤❤
@FikleGaming
@FikleGaming 8 ай бұрын
Thanks Sir
@MyGamingEra
@MyGamingEra 8 ай бұрын
looking like a wow
@Front_endgut-tm9cf
@Front_endgut-tm9cf 10 ай бұрын
The Voice quality.🔥🔥🔥
@alexraider8684
@alexraider8684 9 ай бұрын
Yes, That's very under-rated.
@gauravgol2211
@gauravgol2211 9 ай бұрын
thankyou sir
@fiend4955
@fiend4955 Жыл бұрын
love you sir!
@waleedhaider5299
@waleedhaider5299 Ай бұрын
I watch your video first time and it take like only 2 minute to subscribe your channel. Lot of knowledge from your videos love from Pakistan Bro
@sherijatt3117
@sherijatt3117 Ай бұрын
Hey guys, let's give a huge round of applause to Hitesh Choudhary💖 for his fantastic work on this channel. Make sure to hit subscribe to support him and get access to these awesome tutorials without spending a penny!
@codenoobdev
@codenoobdev Жыл бұрын
sirrr g ap cheezon ko itna simple way ma explain karty hai. i just love it..... tons of love from Pakistan
@chaiaurcode
@chaiaurcode Жыл бұрын
Simplicity hi to speciality h😁
@codenoobdev
@codenoobdev Жыл бұрын
@@chaiaurcode exactly
@BABABENNETT
@BABABENNETT 4 ай бұрын
hitesh sir op
@rishibansal3618
@rishibansal3618 10 ай бұрын
Time stamp : 5:20 console.log("1 " + mydate.toString()); console.log("2 " +mydate.toISOString()); console.log("3 " +mydate.toJSON()); console.log("4 " +mydate.toDateString()); console.log("5 " +mydate.toTimeString()); console.log("6 " +mydate.toLocaleDateString()); console.log("7 " +mydate.toLocaleTimeString()); console.log("8 " +mydate.toLocaleString()); OUTPUT:- 1 Mon Oct 02 2023 20:33:54 GMT+0530 (India Standard Time) 2 2023-10-02T15:03:54.082Z 3 2023-10-02T15:03:54.082Z 4 Mon Oct 02 2023 5 20:33:54 GMT+0530 (India Standard Time) 6 10/2/2023 7 8:33:54 PM 8 10/2/2023, 8:33:54 PM
@justtt.prerna
@justtt.prerna 5 ай бұрын
5:11 toString() - Fri Feb 23 2024 17:09:31 GMT+0530 (India Standard Time) toDateString() - Fri Feb 23 2024 toJSON() - 2024-02-23T11:43:04.255Z toLocaleDateString() - 23/02/2024 toLocaleString() - 23/02/2024, 5:09:31 PM toLocaleTimeString() - 5:09:31 PM toTimeString() - 17:09:31 GMT+0530 (India Standard Time) toUTCString() - Fri, 23 Feb 2024 11:39:31 GMT
@livecodealone
@livecodealone 2 ай бұрын
Chai aur Javascript | हिन्दी
@prakhargupta4347
@prakhargupta4347 Жыл бұрын
thankss 🙌
@sagarbhavel8266
@sagarbhavel8266 8 ай бұрын
Nice video
@deadlylive_gaming7154
@deadlylive_gaming7154 11 ай бұрын
thanks
@captain-ne8qy
@captain-ne8qy 20 күн бұрын
Sir aap pura (Node File -Name) Bina Baar baar likhe kaise js file run kra rhe hai??
@AkshayKumar-zz6cz
@AkshayKumar-zz6cz 7 ай бұрын
sir thumbnail me apne Data and time likha hai 😊 ajj notice Kiya Maine 😅, but no issues main motive is to learn something
@ashishkumarranjan808
@ashishkumarranjan808 11 ай бұрын
Great
@anandsingh-fc9ql
@anandsingh-fc9ql Жыл бұрын
thank you❤❤❤
@jayujawaranivlogs8980
@jayujawaranivlogs8980 9 ай бұрын
Hello sir Today I tried this without converting it into to string it show Fri Oct 20 2023 22:14:07 GMT+0530 (India Standard Time). How its works
@Mga-quotes
@Mga-quotes 10 ай бұрын
😍😍
@MyGamingEra
@MyGamingEra 8 ай бұрын
so good
@Dev-Phantom
@Dev-Phantom 6 ай бұрын
cool
@Sarvesh_Coder
@Sarvesh_Coder Жыл бұрын
awesome !
@addictman0724
@addictman0724 Жыл бұрын
sir aap ek bar full course ki video upload kr do watching apne aap aa jayegi
@cubeking007
@cubeking007 3 ай бұрын
toString() : Tue Apr 30 2024 14:26:13 GMT+0000 (Coordinated Universal Time) toDateString() : Tue Apr 30 2024 toISOString() : 2024-04-30T14:26:13.656Z toLocaleDateString() : 4/30/2024 toLocaleString() : 4/30/2024, 2:26:13 PM toTimeString() : 14:26:13 GMT+0000 (Coordinated Universal Time)
@manemanoj3068
@manemanoj3068 Жыл бұрын
bhayya maza aaagya
@Apna-Program
@Apna-Program 7 ай бұрын
😍🥰🥰
@adityapratapsingh5770
@adityapratapsingh5770 7 ай бұрын
Javascript and me got something common Date is also my pain point sir ...................
@iambishwaa
@iambishwaa Ай бұрын
done ✅
@SonamKumari-kr3io
@SonamKumari-kr3io 3 ай бұрын
Playlist serial wise hai?
@sohaibahmad3290
@sohaibahmad3290 12 күн бұрын
tum bht achy ho 😎
@worldwrestlingwonder
@worldwrestlingwonder 4 ай бұрын
ƒ toLocaleTimeString() { [native code] mere console me ye show ho rha, can anyone explain
@maazkhan6013
@maazkhan6013 6 ай бұрын
nice
@AnkitShriramwar
@AnkitShriramwar 2 ай бұрын
toDateString() : Sat May 18 2024 toISOString() : 2024-05-18T11:41:44.554Z toJSON() : 2024-05-18T11:41:44.554Z toLocaleDateString() : 18/5/2024 toLocaleTimeString() : 5:11:44 pm toString() : Sat May 18 2024 17:11:44 GMT+0530 (India Standard Time) toTimeString() : 17:11:44 GMT+0530 (India Standard Time) toUTCString() : Sat, 18 May 2024 11:41:44 GMT
@Mahin_katariya
@Mahin_katariya 4 ай бұрын
1)myDate.toDateString() 2)myDate.toString() 3)myDate.toLocaleDateString() 4)myDate.toJSON() 5)myDate.toISOString() results---> Wed Apr 03 2024 Wed Apr 03 2024 20:40:49 GMT+0530 (India Standard Time) 4/3/2024 2024-04-03T15:10:49.321Z 2024-04-03T15:10:49.321Z
@rajdeepsingha1611
@rajdeepsingha1611 6 ай бұрын
QUESTIONS: let myDate = new Date() 1.console.log(myDate.toString()); 2.console.log(myDate.toISOString()); 3.console.log(myDate.toJSON()); 4.console.log(myDate.toDateString()); 5.console.log(myDate.toTimeString()); 6.console.log(myDate.toLocaleDateString()); 7.console.log(myDate.toLocaleTimeString()); 8.console.log(myDate.toUTCString()); ANSWERS: 1 .Fri Jan 05 2024 15:12:01 GMT+0530 (India Standard Time) 2. 2024-01-05T09:42:01.542Z 3. 2024-01-05T09:42:01.542Z 4. Fri Jan 05 2024 5. 15:12:01 GMT+0530 (India Standard Time) 6. 5/1/2024 7. 3:12:01 pm 8. Fri, 05 Jan 2024 09:42:01 GMT
@hbrifat7876
@hbrifat7876 11 ай бұрын
Date object Thu Aug 24 2023 15:04:08 GMT+0000 (Coordinated Universal Time) Date object with toDateString(): Thu Aug 24 2023 Date object with toISOString(): 2023-08-24T15:04:08.236Z Date object with toLocaleDateString(): 8/24/2023 Date object with toLocaleString(): 8/24/2023, 3:04:08 PM Date object with toLocaleTimeString(): 3:04:08 PM Date object with toString(): Thu Aug 24 2023 15:04:08 GMT+0000 (Coordinated Universal Time) Date object with toTimeString(): 15:04:08 GMT+0000 (Coordinated Universal Time) Date object with toUTCString(): Thu, 24 Aug 2023 15:04:08 GMT
@umairkamal20
@umairkamal20 8 ай бұрын
Sir what is the difference between to.JSON and to.ISOString.............
@user-bz7mj1tq9z
@user-bz7mj1tq9z 5 ай бұрын
toString() => Mon Mar 04 2024 12:33:07 GMT+0530 (India Standard Time) toDateString() => Mon Mar 04 2024 toTimeString() => 12:35:09 GMT+0530 (India Standard Time) toLocaleString() =>04/03/2024, 12:36:22
@ayushsaraswat01
@ayushsaraswat01 10 ай бұрын
someone plz tell me why my new date.now( ) is wrong and how to write it with new keyword
@pratibhaverma2063
@pratibhaverma2063 6 ай бұрын
At time 13:07 pe Date.now()/1000 = 1677672716.099 aur Math.floor() use krne k bad 1677672733 ? why so much difference ? Shouldn't it be 17 at last
@comediankaran9768
@comediankaran9768 20 күн бұрын
Fri Jul 12 2024 18:59:01 GMT+0530 (India Standard Time) = toString() Fri Jul 12 2024 = toDateString() 2024-07-12T13:30:21.922Z = toISOString() 2024-07-12T13:32:38.061Z = toJSON() 12/7/2024, 7:03:21 pm = toLocaleString()
@ayanahmed316
@ayanahmed316 5 ай бұрын
LOVE FROM PAKISTAN
@adatg
@adatg 9 ай бұрын
Which theme is this ?
@QGXN
@QGXN 4 ай бұрын
Methods With their Outputs Date.toDateString() Thu Mar 14 2024 Date.toISOString() 2024-03-14T13:10:12.400Z Date.toJSON() 2024-03-14T13:10:12.400Z Date.toLocaleDateString() 3/14/2024 Date.toLocaleString() 3/14/2024, 6:04:12PM Date.toLocaleTimeString() 6:04:12 PM Date.toString() Thu Mar 14 2024 18:40:12 GMT+0530 (India Standard Time) Date.toTimeString() 18:40:12 GMT+0530 (India Standard Time) Date.toUTCString() Thu, 14 Mar 2024 13:10:12 GMT
@mohdsultan2023
@mohdsultan2023 Жыл бұрын
Done with 13th video ✔☑✅
@shubham_kumar986
@shubham_kumar986 5 ай бұрын
console.log(date.toISOString()) //Output:2024-03-01T14:37:50.067Z const n= date.toString() //Fri Mar 01 2024 20:08:17 GMT+0530 (India Standard Time) ,Type:- string console.log(date.toJSON()) //2024-03-01T14:40:56.512Z console.log(date.toLocaleString()) //1/3/2024, 8:14:23 pm
@jagdambadubey6956
@jagdambadubey6956 3 ай бұрын
toString() - Tue Apr 30 2024 03:50:21 GMT+0000 (Coordinated Universal Time) toDateString() - Tue Apr 30 2024 toJSON() - 2024-04-30T03:50:21.654Z toLocaleDateString() - 4/30/2024 toLocaleString() - 4/30/2024, 3:50:21 AM
Array in Javascript | chai aur #javascript
18:55
Chai aur Code
Рет қаралды 185 М.
Objects in depth in javascript in hindi | chai aur #javascript
18:08
Chai aur Code
Рет қаралды 199 М.
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 74 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 9 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 93 МЛН
Working with Javascript Dates for Beginners
15:03
iEatWebsites
Рет қаралды 75 М.
JavaScript in 1 Hour using W3Schools Website | W3Schools JavaScript Tutorial
1:00:53
Number and Maths in Javascript | chai aur #javascript
23:17
Chai aur Code
Рет қаралды 156 М.
5 JavaScript Mistakes Every Beginner Must Avoid 🔥
10:56
CodeWithHarry
Рет қаралды 178 М.
Object de-structure and JSON API intro | chai aur #javascript
13:33
Chai aur Code
Рет қаралды 138 М.
API Calling in Javascript
15:54
Piyush Garg
Рет қаралды 19 М.
How does javascript execute code + call stack | chai aur #javascript
26:12
Middle Class FOOLED Once Again? | Budget 2024 | Dhruv Rathee
20:09
Dhruv Rathee
Рет қаралды 12 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 74 МЛН