# How to decode value of limited time booster from ESI

**URL:** <https://forums.eveonline.com/t/how-to-decode-value-of-limited-time-booster-from-esi/410771>\
**Category:** Third Party Developers\
**Created:** [June 26, 2023, 3:58pm UTC](https://forums.eveonline.com/t/how-to-decode-value-of-limited-time-booster-from-esi/410771 "2023-06-26T15:58:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magiczna\_Zelka](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/magiczna_zelka/32/376590_2.png) [@Magiczna\_Zelka](https://forums.eveonline.com/u/Magiczna_Zelka)\
**Post date:** [June 26, 2023, 3:58pm UTC](https://forums.eveonline.com/t/how-to-decode-value-of-limited-time-booster-from-esi/410771/1 "2023-06-26T15:58:15Z")

</div>

Hello  
I’ve spend some time on this and i really have no idea how to convert value of “Expiry Date” of Limited Time [19] Booster  
I tried to do in on example “Extended Capsuleer Day XX Cerebral Accelerator”  
[https://esi.evetech.net/latest/universe/types/76507/?datasource=tranquility&language=en](https://esi.evetech.net/latest/universe/types/76507/?datasource=tranquility&language=en)  
which dogma\_attribute 2422 is: 19549.45763888889  
Unit\_id is 143 which is  
“description”: “Date and time”,  
“name”: “Datetime”  
but when i tring to convert this wiht php i get 1970-01-01 05:25:49 but it should be 2023-07-11 00:00:00

---

<div class="post-metadata">

**Author:** ![Gerard\_Amatin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/gerard_amatin/32/481361_2.png) [@Gerard\_Amatin](https://forums.eveonline.com/u/Gerard_Amatin)\
**Post date:** [June 26, 2023, 6:22pm UTC](https://forums.eveonline.com/t/how-to-decode-value-of-limited-time-booster-from-esi/410771/2 "2023-06-26T18:22:17Z")

</div>

Nice puzzle. I couldn’t find any documentation about it, but after trying some things, that value looks like _‘amount of days since 1st of Jan 1970’_ to me.

Not the regular unix timestamp, which would use seconds since that day, but days. If you take the value as 19549 days since 1970-01-01, you get an expiry date of 11th of July 2023, which corresponds to the value in the description:

![image](https://global.discourse-cdn.com/eveonline/original/4X/6/f/9/6f9c5d48d5e65c3857401ba2c802ee2c228b75e0.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [September 24, 2023, 6:22pm UTC](https://forums.eveonline.com/t/how-to-decode-value-of-limited-time-booster-from-esi/410771/3 "2023-09-24T18:22:29Z")

</div>

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