# Content feed based on a world clock

**URL:** <https://forum.8thwall.com/t/content-feed-based-on-a-world-clock/2797>\
**Category:** Technical Support\
**Tags:** general\
**Created:** [September 16, 2024, 7:38pm UTC](https://forum.8thwall.com/t/content-feed-based-on-a-world-clock/2797 "2024-09-16T19:38:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Howard\_McCabe](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@Howard\_McCabe](https://forum.8thwall.com/u/Howard_McCabe)\
**Post date:** [September 16, 2024, 7:38pm UTC](https://forum.8thwall.com/t/content-feed-based-on-a-world-clock/2797/1 "2024-09-16T19:38:59Z")

</div>

I’d like my AR content to play in sync to actual time, ie start at midnight. And if the user launches their experience at 12:02 they are 2 minutes into the experience.  
Is this possible?

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [September 16, 2024, 8:28pm UTC](https://forum.8thwall.com/t/content-feed-based-on-a-world-clock/2797/2 "2024-09-16T20:28:29Z")

</div>

You could do it using [Date.now()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now)

```auto
const startDate = new Date('2024-09-20T15:30:00'); // Set your start date and time here
const now = Date.now();
const difference = now - startDate.getTime();

console.log(difference); // Milliseconds difference (negative if in the future, positive if in the past)

```
