# Device data timestamp

**URL:** <https://community.cumulocity.com/t/device-data-timestamp/2088>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [August 30, 2021, 10:31am UTC](https://community.cumulocity.com/t/device-data-timestamp/2088 "2021-08-30T10:31:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhassan](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/mhassan/32/4078_2.png) [@mhassan](https://community.cumulocity.com/u/mhassan)\
**Post date:** [August 30, 2021, 10:31am UTC](https://community.cumulocity.com/t/device-data-timestamp/2088/1 "2021-08-30T10:31:30Z")

</div>

Hi All,

We have created a virtual device in c8y and stored a Realtime data to the device using our JAVA agent.  
Now we are receiving data in a CSV file which have timestamp in PST and we storing the data in c8y device in UTC timestamp. So because of that timestamp in c8y inbuild widget is in UTC, If I create an Alarm it will show me the time in UTC but we need the Alarm timestamp in PST.

1. How we can balance the timestamp mismatch?
2. If I change the my data storing agent in c8y from UTC to PST, will I lose the past data?

Thanks,  
Saif

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [November 28, 2021, 10:32am UTC](https://community.cumulocity.com/t/device-data-timestamp/2088/2 "2021-11-28T10:32:05Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
