Date and Time in Java

preview_player
Показать описание

Best Hindi Videos For Learning Programming:

►C Language Complete Course In Hindi -

►JavaScript Complete Course In Hindi -

►Django Complete Course In Hindi -

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

Something unique in this guy, That makes him different from the world ! Jai! Harry Bhai

Yash-rslu
Автор

I was watching Date and time in JavaScript from your web development course and this notification came of Date and time in Java

noname
Автор

11:07

It's safe to store the value of milliseconds till the value reaches to 1.84x10e19(app.)

Don't know if I'm right or not but the we have still 292471155 years left from this date to hold the value in long data type.(Pardon me if I'm wrong. Even I'm also confused if it's right or not.)

alnahian
Автор

10:04 sir apne PDF change nhi kri h
but mene kr liya...
vese mja aa gya yaha tk sb kuch aya samajh m

yashkumarroy
Автор

+ " days");
+ " weeks");
+" months");
+ " years");

amikoss
Автор

Thanks harry bhai... I really need this

ashishrathod
Автор

Sir ap bohot accha padate ho humare college me c padane ke liye teacher aye hai unka kuch nahi samajh me ata hai isliye hum apki playlist download ki hai or usse hi padte hai

priyakumari-yrru
Автор

yes. It is safe long can store very large values.

prasadsawant
Автор

haryy bhai kamal dhamal baval he tum.. kya sikhate ho bhai ..maja aa gaya..

solankimayur
Автор

Bhai you're OP, Congrats on 1 milli 💥

amanrikhra
Автор

Java Course will soon complete century 🥳🥳🥳

akshit
Автор

9:17
Time passed from 1970 in:-

Milliseconds: 1637601299011
Seconds: 1637601299
Minutes: 27293354
Hours: 454889

CapableG
Автор

11:00 yes it is safe to store the time in long datatype becuase the range of long is 9, 223, 372, 036, 854, 775, 808

innocentgamer
Автор

"ETHICAL HACKING TOTAL GUIDELINE" About this topic we need a video

kazishihabul
Автор

10:41 It is obviously not safe to store milliseconds into a variable of type Long because the milliseconds change and you can't just use that variable everywhere as it will be not correct.

varadpawar
Автор

Years: 51;
Days: 18824;
Hours: 451787;
Minutes: 27107235;
Seconds: 1626434151;
MilliSeconds: 1626434151668;

fellincode
Автор

You are great Harry Bro
Here is your answer :-
Current Date: 04-09-2022
Time in milliseconds since 1 Jan 1970: 1662279970235
Time in seconds since 1 Jan 1970: 1662279970
Time in minutes since 1 Jan 1970: 461744
Time in hours since 1 Jan 1970: 19239
Time in days since 1 Jan 1970: 52

ankushsingh
Автор

bhai harry mujhe aapse ek savaal tha
hum log c++ program mein ui kaise daalein?
love ur videos

adwitkumar
Автор

@11:00
Yes it is safe till a specific time duration because the long data type can store the maximum value of 2^63-1 while the current milliseconds since 1 Jan, 1970 are 1^12. But as the time passes to an extent where even the long data type will become useless so we can't use it.

Conclusion:- It is not safe to store number of milliseconds in a variable of type long.

shahidinamdar
Автор

Tike 12:24 pm
Date 09 - 12 -2021
No. Of hours since 1970 = 455286
No. Of minutes since 1970 = 27317216
No. Of days passed since 1970= 18970
No. Of years since 1970 = 51
Are you happy and satisfied future wala rhythm

rhythmmotwani
visit shbcf.ru