# Getting the date and time entered using the date\_picker in seconds since 1970

**URL:** <https://community.thunkable.com/t/getting-the-date-and-time-entered-using-the-date-picker-in-seconds-since-1970/2201664>\
**Category:** Questions about Thunkable X\
**Tags:** date\_picker\
**Created:** [January 2, 2023, 7:46pm UTC](https://community.thunkable.com/t/getting-the-date-and-time-entered-using-the-date-picker-in-seconds-since-1970/2201664 "2023-01-02T19:46:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleksiy.lavrynenko](https://avatars.discourse-cdn.com/v4/letter/o/a88e4f/32.png) [@oleksiy.lavrynenko](https://community.thunkable.com/u/oleksiy.lavrynenko)\
**Post date:** [January 2, 2023, 7:46pm UTC](https://community.thunkable.com/t/getting-the-date-and-time-entered-using-the-date-picker-in-seconds-since-1970/2201664/1 "2023-01-02T19:46:54Z")

</div>

Friends, my head is boiling 🙂  
So, we have a date and time input.  
We also have a block “Seconds since 1970”.  
Tell me how to get the number of seconds from 1970 from the date and time entered by the user?

Thank you!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 2, 2023, 7:54pm UTC](https://community.thunkable.com/t/getting-the-date-and-time-entered-using-the-date-picker-in-seconds-since-1970/2201664/2 "2023-01-02T19:54:23Z")

</div>

Please don’t start a new topic for the same issue. It’s confusing for anyone trying to help you and it clutters the forums.

You can add details regarding what you’ve tried or resources you’ve found online to the original topic:

> [@Counting time from and to](https://community.thunkable.com/t/counting-time-from-and-to/2200856):
>
> Friends, do you need your advice (maybe someone faced such a problem)? You have to count working hours. The user enters the start of the job and the end of the job, and the program outputs the amount of time spent on the job. I can’t figure out how to calculate the logic correctly frowning Yes, if a person worked for more than an hour, then we subtract the start time from the end time of work - we get the number of hours. What to do with minutes? If a person started working, for example, a…

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 2, 2023, 7:54pm UTC](https://community.thunkable.com/t/getting-the-date-and-time-entered-using-the-date-picker-in-seconds-since-1970/2201664/3 "2023-01-02T19:54:26Z")

</div>


