Loading...

Convert Unix UTC Field to Any Timezone



Timezone Conversion
CryptoDataDownload uses a column called "Unix" in all of its OHLCV CSV files. This field represents the server time of the exchange for the time interval specified. Most computers use "epoch" or UTC timezone as the internal computer clock. Therefore, the unix timestamp is universal UTC time. Because we have the original unix timestamp, you are able to convert it into a human readable date for the time zone local to you (or any you specify). This code example is shorter than most; and shows how you can use a built in pandas function to convert the epoch / unix timestamps.




Notice: Information contained herein is not and should not be construed as an offer, solicitation, or recommendation to buy or sell securities. The information has been obtained from sources we believe to be reliable; however no guarantee is made or implied with respect to its accuracy, timeliness, or completeness. Author does not own the any crypto currency discussed. The information and content are subject to change without notice. CryptoDataDownload and its affiliates do not provide investment, tax, legal or accounting advice.

This material has been prepared for informational purposes only and is the opinion of the author, and is not intended to provide, and should not be relied on for, investment, tax, legal, accounting advice. You should consult your own investment, tax, legal and accounting advisors before engaging in any transaction. All content published by CryptoDataDownload is not an endorsement whatsoever. CryptoDataDownload was not compensated to submit this article. Please also visit our Privacy policy; disclaimer; and terms and conditions page for further information.

Latest Posts
Follow Us
Notify me of new content