# Convert a timestamp in a date and time

**URL:** <https://community.thunkable.com/t/convert-a-timestamp-in-a-date-and-time/647156>\
**Category:** Questions about Thunkable X\
**Created:** [June 30, 2020, 6:40pm UTC](https://community.thunkable.com/t/convert-a-timestamp-in-a-date-and-time/647156 "2020-06-30T18:40:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![haiflosse](https://avatars.discourse-cdn.com/v4/letter/h/7993a0/32.png) [@haiflosse](https://community.thunkable.com/u/haiflosse)\
**Post date:** [June 30, 2020, 6:40pm UTC](https://community.thunkable.com/t/convert-a-timestamp-in-a-date-and-time/647156/1 "2020-06-30T18:40:29Z")

</div>

Hi!  
I have here a timestamp like 1593538006.  
How can I convert this into a day.month.year hour:minute:second in thunkable.  
kindly regards for any answer.

---

<div class="post-metadata">

**Author:** ![ianphaas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ianphaas/32/73941_2.png) [@ianphaas](https://community.thunkable.com/u/ianphaas)\
**Post date:** [June 30, 2020, 6:47pm UTC](https://community.thunkable.com/t/convert-a-timestamp-in-a-date-and-time/647156/2 "2020-06-30T18:47:56Z")

</div>

Hello @haiflosse,

If you are trying to set this to be a label, you can use the “Join” block found under the “Text” category in Thunkable to join the current Day, Month, Year, Hour, Minute and Second by joining what text you between each and using the “current” block which can be found under the “Device” section of your app. You can then have your app set a label to this information. However, if you want any date, you would have to have the Days, Months, etc. separated out to join them.

Best,  
Ian

---

<div class="post-metadata">

**Author:** ![haiflosse](https://avatars.discourse-cdn.com/v4/letter/h/7993a0/32.png) [@haiflosse](https://community.thunkable.com/u/haiflosse)\
**Post date:** [June 30, 2020, 7:23pm UTC](https://community.thunkable.com/t/convert-a-timestamp-in-a-date-and-time/647156/3 "2020-06-30T19:23:08Z")

</div>

Thanks for your answer.  
But how can I calculate from 1593538006 the correcte date and time.  
1593538006 = 30.6.2020 19:26:46  
kindly regards

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:25am UTC](https://community.thunkable.com/t/convert-a-timestamp-in-a-date-and-time/647156/4 "2024-11-08T11:25:16Z")

</div>


