Getting & Formatting the Date/Time in Java

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

After 5 years some one needs you .Very helpful thank you soooo much ❤️❤️

pinkpanthermusic
Автор

The best tutorial in YouTube, is really hard to find a very well explained video like this, with a lot of examples. Thank you <3

daniellujan
Автор

Thank you so much bro u posted that 5 years ago and it helps me a lot thanks G

moha_kunX
Автор

i went to the link and it's not there anymore. You should had made more videos man! Thank you for this one. :)

tkyotaxi
Автор

Hi, Thank you so much this video was super helpful!  But I do have 1 question, say if I want to CHANGE the date...How do I do that?  So instead of printing todays date, how do I print a different date?

Shuhana
Автор

Thanks so much for making this video, buddy!

gce
Автор

This mannequin behind you is creepy AF XD

trzydziesci
Автор

I would like to put the year first, how would I do that so the format is 20231030 for example

chris_rasmussen
Автор

Hello, i need help. I need the time to be changing so like every time a second goes by, the time will change as well just like a digital clock. Anyone know how to do it? I'm still a beginner.

ivansoppong
Автор

Does anybody know if there is a constructor for date with year month an day.

jejeje
Автор

Why is there a beheaded man on your back?

pataayka
Автор

How to bold text in java pllzzzz reply

honeymalik
Автор

public class d {
public static void main(String[] args) {

Date thisDate = new Date();

SimpleDateFormat dateform = new SimpleDateFormat ("MM/dd/YY");




}
}

Bestsomeone
Автор

import java.util.Date;

public class DateExample {
public static void main(String[] args) {

Date currentDate = new Date();

long currentTimeMillis = currentDate.getTime();

System.out.println("Current date and time: " + currentDate);
since Unix epoch: " + currentTimeMillis);
}
}

cocosaurus