How to convert DateTime to Date

后端 未结 0 1348
南方客
南方客 2021-02-12 07:43

How can I convert Date to DateTime and vice versa?

E.g.

Date dt = new Date();

Now I want to covert this to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题