How to get the number of milliseconds elapsed so far today

后端 未结 4 1035
眼角桃花
眼角桃花 2021-02-13 07:27

I want to get the current time and date in milliseconds. How can I get this?

I tried this:

Date date=new Date() ;  
System.out.println(\"Today is \" +dat         


        
4条回答
提交回复
热议问题