# Can you use time on a different column?

**URL:** <https://community.grafana.com/t/can-you-use-time-on-a-different-column/13922>\
**Category:** Grafana\
**Created:** [January 28, 2019, 3:34pm UTC](https://community.grafana.com/t/can-you-use-time-on-a-different-column/13922 "2019-01-28T15:34:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gazzaj200](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@gazzaj200](https://community.grafana.com/u/gazzaj200)\
**Post date:** [January 28, 2019, 3:34pm UTC](https://community.grafana.com/t/can-you-use-time-on-a-different-column/13922/1 "2019-01-28T15:34:19Z")

</div>

I have telegraf posting data into influx and that appends it’s own time column. However I have a created column that I would like to use in a table in grafana to show VMs snapshots created today. When I look at the field type in Influx Studio it says the field type is string.

When I write a query in grafanan can I cast that to date or something? Say  
SELECT CAST(“created” AS date()) FROM “vmsnapshotage” WHERE $\_\_timeFilter(created)

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [January 28, 2019, 8:04pm UTC](https://community.grafana.com/t/can-you-use-time-on-a-different-column/13922/2 "2019-01-28T20:04:33Z")

</div>

no, Grafana can only use InfluxDB’s native built in time column
