Source From Here
Question
I am getting a response from the rest is an Epoch time format like:
I want to convert that epoch seconds to be transformed into below format (
Check strftime):
How-To
To convert your time value (float or int) to a formatted string, use:
Reference:
* time.localtime([secs]):
Question
I am getting a response from the rest is an Epoch time format like:
- start_time = 1234566
- end_time = 1234578
How-To
To convert your time value (float or int) to a formatted string, use:
Reference:
* time.localtime([secs]):
沒有留言:
張貼留言