# \#toinstanttoepochmill

**URL:** https://community.openhab.org/tag/toinstanttoepochmill/4766.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Maximum Values; Type mismatch: cannot convert from HistoricItem to Number](https://community.openhab.org/t/maximum-values-type-mismatch-cannot-convert-from-historicitem-to-number/143278)

<div class="topic-metadata">

**Author:** [@WJ4IoT](https://community.openhab.org/u/WJ4IoT)\
**Replies:** 7\
**Last updated:** [January 15, 2023, 11:02am UTC](https://community.openhab.org/t/maximum-values-type-mismatch-cannot-convert-from-historicitem-to-number/143278 "2023-01-15T11:02:19Z")

</div>

A small one; I struggled to find this solution so just sharing it so it might help others. If you encounter the following errors: Type mismatch: cannot convert from HistoricItem to Number Type mismatch: cannot convert…
