Handling time in golang

  Рет қаралды 53,115

Hitesh Choudhary

Hitesh Choudhary

Күн бұрын

Пікірлер: 56
@raghavgupta6186
@raghavgupta6186 3 жыл бұрын
01/02 03:04:05PM '06 -0700 It's a simple increasing sequence: 01 02 03 04 05 (PM) 06 07. 1: month (January, Jan, 01, etc) 2: day 3: hour (15 is 3pm on a 24-hour clock) 4: minute 5: second 6: year (2006) 7: timezone (GMT-7 is MST)
@kartikmalik4943
@kartikmalik4943 3 жыл бұрын
Thanks
@VictorKun
@VictorKun 2 жыл бұрын
Thanks a million
@horizonbrave1533
@horizonbrave1533 2 жыл бұрын
Mind...= .... BLown..wow, I never noticed that! That is really neat and nice that you caught this...
@kodewithkartik
@kodewithkartik Ай бұрын
Amazing!
@RaviPrakash-gl5zy
@RaviPrakash-gl5zy 2 жыл бұрын
05mymaths video missing sir
@danielvega646
@danielvega646 6 ай бұрын
Where is this class?!!!
@codingchannel6263
@codingchannel6263 3 ай бұрын
@@danielvega646 last video of playlist
@billybutcherr69
@billybutcherr69 2 ай бұрын
still is
@hue.huehuehue
@hue.huehuehue Жыл бұрын
Hahaha love that go developers decided to use random date and time to use for formatting
@RahulOne1
@RahulOne1 2 жыл бұрын
Designers of GoLang were taking some "Controlled Substance" when des8gning date and time for the language. A sober designer won't think of such bullsh*t
@MuhammedMuhammed-of5bd
@MuhammedMuhammed-of5bd 11 ай бұрын
Sir you are deadly master in go - great sir thankyou
@davidagyakwa288
@davidagyakwa288 3 жыл бұрын
I am patiently waiting for a golang modules explanation and context explanation from Hitesh .
@muntadher8087
@muntadher8087 Жыл бұрын
I am loving this content. Really cool
@rohandesai4585
@rohandesai4585 3 жыл бұрын
The date formatting syntax feels awful in golang. I found this way to get individual elements of date-time: t := time.Now() t.Year() t.Month() t.Day() t.Hour() t.Minute() t.Second()
@horizonbrave1533
@horizonbrave1533 2 жыл бұрын
@8:20 "I don't know why you would want to go back to 2020..." Oh trust me...I don't think we do haha...
@Ai-Shorts-pb
@Ai-Shorts-pb 2 жыл бұрын
To have a date in "YYYY-MM-DD " format, Go will need "2016-01-02" as a conversion parameter. YYYY = 2016 MM = 01 DD = 02
@arijitdn
@arijitdn 3 ай бұрын
The thing is today when I am watching, its wednesday too, and also august (but just 10 dates later)
@keyurbarot8869
@keyurbarot8869 3 жыл бұрын
Loved it!! Can't wait for tomorrow's 5 Pm
@savagepro9060
@savagepro9060 10 ай бұрын
Love he calls Wednesday--->> Weirdness Day. It's called Wensday, the 'd' is silent!
@nehakamath8321
@nehakamath8321 3 жыл бұрын
Hi Hitesh !! I was not able to find the tutorial on 05 module mymaths? Could you please share the link ?
@HiteshCodeLab
@HiteshCodeLab 3 жыл бұрын
courses.learncodeonline.in/learn/Go-with-Golang
@nehakamath8321
@nehakamath8321 3 жыл бұрын
@@HiteshCodeLab Thank you for the quick response :) Happy New Year to you & your family !!!!
@syedasadkazmii
@syedasadkazmii Жыл бұрын
kzbin.info/www/bejne/r4HIio1mhtqmprc
@sumanadhikari93
@sumanadhikari93 3 жыл бұрын
With such a weird date formatting syntax I wonder how can people love this language. After coding for a year in Golang I will come back and re-evaluate this comment to see if my perception has changed on it or not!
@flexairz
@flexairz 3 жыл бұрын
It probably was the date and time when the designers of Go came up with something funny... This works too: Mon Jan 2 15:04:05 MST 2006
@prafulkhanduri542
@prafulkhanduri542 2 жыл бұрын
It's probably 1 year are you listening tell us 😂
@imnemo2327
@imnemo2327 Жыл бұрын
Such is life!!! ~ Winston
@danielvega646
@danielvega646 6 ай бұрын
05mymaths video missing sir
@YouAndImpact
@YouAndImpact 3 жыл бұрын
Great video 👍
@ucmeytsc7302
@ucmeytsc7302 Жыл бұрын
where is the previous video 5maths?
@Vikas-dm9uc
@Vikas-dm9uc Жыл бұрын
In last of playlist
@syedasadkazmii
@syedasadkazmii Жыл бұрын
kzbin.info/www/bejne/r4HIio1mhtqmprc
@ajmalshaikh1990
@ajmalshaikh1990 3 жыл бұрын
math crypto random number is not in the list of golang
@ShubhamPandey-gm4mj
@ShubhamPandey-gm4mj 3 жыл бұрын
amazing video sir loved it
@zeeshansafdar8608
@zeeshansafdar8608 3 жыл бұрын
Hitesh, I love your intro
@bhumit070
@bhumit070 3 жыл бұрын
sir there should be 2 videos today as friday no video was released and for not doing livestream yesterda. deal ?
@pratiksutar96
@pratiksutar96 6 ай бұрын
For those who are looking for 05mymaths video its last in the playlist
@sakethkumarpeddi2089
@sakethkumarpeddi2089 4 ай бұрын
thanks bro
@rohandas5563
@rohandas5563 3 жыл бұрын
I think I have to Print it on a tshirt or something....
@FaizKhan-ep7fo
@FaizKhan-ep7fo 3 жыл бұрын
Hum already dekh chuka😆😆😆
@dheerajsrivastava1736
@dheerajsrivastava1736 3 жыл бұрын
Mai first mai first 🤣
@prasannakumar7035
@prasannakumar7035 3 жыл бұрын
This behaves weirdly , if i pass instead of "Monday" -> "monday" with "m" as small , it gives as "monday" but it should give as "Tuesday" . That is today 14/09/2021
@KhasimP-r6v
@KhasimP-r6v 10 ай бұрын
Python is very easy, if we compare with this.
@andrewstrady4429
@andrewstrady4429 2 жыл бұрын
that's the most ridiculous way to of time formatting I've ever seen...the guy who came up with this is just mental
@Aditya-if3ij
@Aditya-if3ij 3 жыл бұрын
I was watching a space-time related video earlier and this title struck me😆.
@SupriyaMondal3
@SupriyaMondal3 3 жыл бұрын
great tutorial.. but that purple theme on VS Code looks awful
@easyguidetosuccess
@easyguidetosuccess 3 жыл бұрын
He made it himself. It's the Teacher theme by LCO.
@yashkalavadiya5021
@yashkalavadiya5021 3 жыл бұрын
My theory is The person who wrote format method has a kid and was born on that day. 😂
@harshakp06
@harshakp06 10 ай бұрын
missing from the list kzbin.info/www/bejne/r4HIio1mhtqmprc 04maths
@swapnilhajare5557
@swapnilhajare5557 8 ай бұрын
Thanks a lot
@harshakp06
@harshakp06 8 ай бұрын
This was added at the end of the playlist 🙂
@madhabapatra
@madhabapatra 3 жыл бұрын
Ohh i am second
@mrrishiraj88
@mrrishiraj88 3 жыл бұрын
🙏
@ghcoder5477
@ghcoder5477 3 жыл бұрын
Third to be here lol
Build for windows, linux and mac
3:46
Hitesh Choudhary
Рет қаралды 38 М.
Memory management in golang
5:36
Hitesh Choudhary
Рет қаралды 56 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 41 МЛН
Conversions in golang
10:33
Hitesh Choudhary
Рет қаралды 57 М.
Should you learn Go in 2023?
4:33
Dreams of Code
Рет қаралды 185 М.
Concurrency and goroutines in golang
13:18
Hitesh Choudhary
Рет қаралды 44 М.
Beyond the Clock: All about Timers & Tickers in Golang!
17:30
Flo Woelki
Рет қаралды 2 М.
Golang Channels Or Wait Groups? Let Me Explain.
18:32
Anthony GG
Рет қаралды 27 М.
This is the BEST Golang Context Package Tutorial
12:18
Melkey
Рет қаралды 15 М.
Comma ok syntax and packages in golang
11:41
Hitesh Choudhary
Рет қаралды 69 М.
A long video on MOD in golang
27:16
Hitesh Choudhary
Рет қаралды 36 М.
Slices in golang
14:58
Hitesh Choudhary
Рет қаралды 45 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 397 М.