# \#time-macros

**URL:** https://community.grafana.com/tag/time-macros/162.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [MSSQL datetime to Utc and viceversa](https://community.grafana.com/t/mssql-datetime-to-utc-and-viceversa/112951)

<div class="topic-metadata">

**Author:** [@andreabigitechnolog](https://community.grafana.com/u/andreabigitechnolog)\
**Replies:** 2\
**Last updated:** [January 29, 2024, 9:06am UTC](https://community.grafana.com/t/mssql-datetime-to-utc-and-viceversa/112951 "2024-01-29T09:06:32Z")

</div>

Hello, what can I to to have the macro for converting datetime fields to UTC and viceversa in Microsoft SQL Server queries available in Grafana ? Something like $\_\_toUtc(field) and $\_\_fromUtc(field) Has anyone already…

---

## [HELP with timepicker panel](https://community.grafana.com/t/help-with-timepicker-panel/83805)

<div class="topic-metadata">

**Author:** [@luramirez080](https://community.grafana.com/u/luramirez080)\
**Replies:** 2\
**Last updated:** [March 15, 2023, 3:33am UTC](https://community.grafana.com/t/help-with-timepicker-panel/83805 "2023-03-15T03:33:42Z")

</div>

HELLO, I am visualizing data from influxdb, as a time series, I’d like to show the data in 3 diferent shifts. From Yesterday’s 10 PM to Today’s 6 AM. From Today’s 6 AM to Today’s 2 PM From Today’s 2 PM to Today’s 10 PM …

---

## [Datetime, Timestamp, UnixTime, Grafana won't show graph](https://community.grafana.com/t/datetime-timestamp-unixtime-grafana-wont-show-graph/65169)

<div class="topic-metadata">

**Author:** [@AndreM](https://community.grafana.com/u/AndreM)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 1:53am UTC](https://community.grafana.com/t/datetime-timestamp-unixtime-grafana-wont-show-graph/65169 "2022-05-25T01:53:33Z")

</div>

Hi, know this item has multiple threads, but I can’t find the basic configuration. My issue: Grafana get’s right data, they are 2hrs ahead and so (I assume) Grafana don’t draw a timechart series. In other mysql databa…
