# Conversion of time variable "hh:mm" into 2 numeric variables hour and minutes, and vice versa

**URL:** <https://community.homey.app/t/conversion-of-time-variable-hh-mm-into-2-numeric-variables-hour-and-minutes-and-vice-versa/76785>\
**Category:** Questions & Help\
**Created:** [February 23, 2023, 10:57am UTC](https://community.homey.app/t/conversion-of-time-variable-hh-mm-into-2-numeric-variables-hour-and-minutes-and-vice-versa/76785 "2023-02-23T10:57:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 23, 2023, 10:47pm UTC](https://community.homey.app/t/conversion-of-time-variable-hh-mm-into-2-numeric-variables-hour-and-minutes-and-vice-versa/76785/5 "2023-02-23T22:47:29Z")

</div>

> [@Conversion variable heure "hh:mm" en 2 variables numériques heure et minutes, et vice-versa](https://community.homey.app/t/conversion-variable-heure-hh-mm-en-2-variables-numeriques-heure-et-minutes-et-vice-versa/76756/6):
>
> I am sorry, i do not speak or write French, so i’ll do this in English. If i understand you correct, i think you might like the format card in the [Better Logic Library App](https://homey.app/nl-nl/app/net.i-dev.betterlogic/). [[APP][Pro] Better Logic Library - For Users - Apps - Homey Community Forum](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/2) it has a Format card which gives parts of the date exactly how you want it, based on your locale settings and timezone (configurable through the settings): [image] (You can type anything you like it in and select the top one, which is what you typ…

---

_[View the full topic](https://community.homey.app/t/conversion-of-time-variable-hh-mm-into-2-numeric-variables-hour-and-minutes-and-vice-versa/76785)._
