Sample data:

toyData = {
 {FromDateString["2021-12-05T22:32:00", TimeZone -> 0], 1},
 {FromDateString["2021-12-05T23:32:00", TimeZone -> 0], 2}}



enter image description here Although the data is given with TimeZone->0, the plot is in my local time zone (-5). How do I get a plot in UTC (or call it GMT if you must)?


1 Answer 1


And right after I posted, I figured it out:

Block[{$TimeZone = 0}, DateListLogPlot[toyData]]

Kid of clumsy, but it works.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.