# Advice for the easiest way to input time

**URL:** <https://forum.inductiveautomation.com/t/advice-for-the-easiest-way-to-input-time/18174>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [May 25, 2018, 6:42pm UTC](https://forum.inductiveautomation.com/t/advice-for-the-easiest-way-to-input-time/18174 "2018-05-25T18:42:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stuart](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Stuart](https://forum.inductiveautomation.com/u/Stuart)\
**Post date:** [May 25, 2018, 6:42pm UTC](https://forum.inductiveautomation.com/t/advice-for-the-easiest-way-to-input-time/18174/1 "2018-05-25T18:42:35Z")

</div>

Has anyone come up with a good way to easily enter time, without the date?

I am looking for a way a user can easily enter a start and end time of a process, without having to deal with selecting the day - that will be determined in an earlier step. Sort of like how [html `<input type="time">`] ([https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time)) looks.

The **Popup Calendar** component does what I want, but I don’t want the calendar portion of it.

Any ideas?

---

<div class="post-metadata">

**Author:** ![automatisation](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@automatisation](https://forum.inductiveautomation.com/u/automatisation)\
**Post date:** [May 25, 2018, 6:55pm UTC](https://forum.inductiveautomation.com/t/advice-for-the-easiest-way-to-input-time/18174/2 "2018-05-25T18:55:46Z")

</div>

Here, we are using the Spinner component with the appropriate date format that we want.  
It generates a date in its dateValue property (ex: 1970-01-01 14:53:00).  
Then we just system.date.format() it to our convenience where we need it.

---

<div class="post-metadata">

**Author:** ![Stuart](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Stuart](https://forum.inductiveautomation.com/u/Stuart)\
**Post date:** [May 25, 2018, 6:59pm UTC](https://forum.inductiveautomation.com/t/advice-for-the-easiest-way-to-input-time/18174/3 "2018-05-25T18:59:36Z")

</div>

That’s what I was looking for! Never thought to look at the spinner. Thanks!
