# How to hide seconds from input type time?

**URL:** <https://community.weweb.io/t/how-to-hide-seconds-from-input-type-time/2797>\
**Category:** How do I?\
**Created:** [May 24, 2023, 2:21pm UTC](https://community.weweb.io/t/how-to-hide-seconds-from-input-type-time/2797 "2023-05-24T14:21:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_LoopLabs](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Robert\_LoopLabs](https://community.weweb.io/u/Robert_LoopLabs)\
**Post date:** [May 24, 2023, 2:21pm UTC](https://community.weweb.io/t/how-to-hide-seconds-from-input-type-time/2797/1 "2023-05-24T14:21:00Z")

</div>

Hey! I am trying to hide the seconds part in input type time. Is there a way to achieve this? I discovered the seconds are added by attr. “step” but I have no idea how to force set this attr. on page load for example. Any ides? Thanks!

 ![Screenshot 2023-05-24 at 16.21.14](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/7d6ab683b4649c86f086163f3ce660b8f3708a47.png)

---

<div class="post-metadata">

**Author:** ![Robert\_LoopLabs](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Robert\_LoopLabs](https://community.weweb.io/u/Robert_LoopLabs)\
**Post date:** [May 28, 2023, 2:22pm UTC](https://community.weweb.io/t/how-to-hide-seconds-from-input-type-time/2797/2 "2023-05-28T14:22:15Z")

</div>

Anyone point me in the right direction please? The seconds are really annoying.

I was trying to force the “step: 60” attribute but unfortunately no luck :C
