How to set timezones for datetimes read from parquet files?
I just started playing around with parquet files for storing large tables of test data. All my data has timestamp columns which when saved has a timezone associated with it. When using parquetread(file) to get the whole table the datetimes are read in and display UTC timestamps for the display format with an empty timezone field. Currently I’m using the following to convert back to my local timezone for display purposes:
data = parquetread(file);
data.Timestamp.TimeZone = ‘UTC’;
data.Timestamp.TimeZone = ‘local’;
Is there a more concise way to do this?I just started playing around with parquet files for storing large tables of test data. All my data has timestamp columns which when saved has a timezone associated with it. When using parquetread(file) to get the whole table the datetimes are read in and display UTC timestamps for the display format with an empty timezone field. Currently I’m using the following to convert back to my local timezone for display purposes:
data = parquetread(file);
data.Timestamp.TimeZone = ‘UTC’;
data.Timestamp.TimeZone = ‘local’;
Is there a more concise way to do this? I just started playing around with parquet files for storing large tables of test data. All my data has timestamp columns which when saved has a timezone associated with it. When using parquetread(file) to get the whole table the datetimes are read in and display UTC timestamps for the display format with an empty timezone field. Currently I’m using the following to convert back to my local timezone for display purposes:
data = parquetread(file);
data.Timestamp.TimeZone = ‘UTC’;
data.Timestamp.TimeZone = ‘local’;
Is there a more concise way to do this? parquet datetime, datetime timezones MATLAB Answers — New Questions