same code,different answers on windows and ubuntu

Viewed 28

I have a code which is like

import datetime
datetime.datetime.fromtimestamp(1600162806273/1000).strftime('%H')

output on windows interactive python console:

'15'

output on ubuntu interactive python console:

'09'

Can somebody please help with this.

0 Answers
Related