How to convert Timestamp into Date format in java(java中如何将时间戳转换为日期格式)
问题描述
我有一个这样的时间戳(形成一个 json 响应):
I have a time stamp like this(form a json response) :
"/日期(1479974400000-0800)/"
"/Date(1479974400000-0800)/"
我正在尝试使用此功能将时间戳转换为日期:
I'm trying this function to convert time stamp into date:
如何将此时间戳转换为日期格式?
推荐答案
解决方案有效对我来说是这样的:
The solution works for me is like this:
在需要的地方使用时间变量
Use time variable where you want
这篇关于java中如何将时间戳转换为日期格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!