# About the expireTime parameter in LeaderboardRecordsList API

**URL:** <https://forum.heroiclabs.com/t/about-the-expiretime-parameter-in-leaderboardrecordslist-api/5839>\
**Category:** Runtime Framework\
**Tags:** leaderboards\
**Created:** [November 28, 2024, 12:11pm UTC](https://forum.heroiclabs.com/t/about-the-expiretime-parameter-in-leaderboardrecordslist-api/5839 "2024-11-28T12:11:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [December 3, 2024, 10:34am UTC](https://forum.heroiclabs.com/t/about-the-expiretime-parameter-in-leaderboardrecordslist-api/5839/4 "2024-12-03T10:34:33Z")

</div>

1. The expiry times depend on the leaderboard/tournament cron expression. You can use the util [cron functions](https://heroiclabs.com/docs/nakama/server-framework/go-runtime/function-reference/#CronNext).

2. The `nextReset` and `prevReset` for then current cycle are returned in the payload of leaderboard listing.

3. The cron expression previous reset cycle should be passed as a param.

Hope this clarifies.

---

_[View the full topic](https://forum.heroiclabs.com/t/about-the-expiretime-parameter-in-leaderboardrecordslist-api/5839)._
