# Script to control time display

**URL:** <https://community.elfsight.com/t/script-to-control-time-display/46450>\
**Category:** Customization\
**Created:** [April 6, 2024, 8:47pm UTC](https://community.elfsight.com/t/script-to-control-time-display/46450 "2024-04-06T20:47:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Malta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/chris_malta/32/22258_2.png) [@Chris\_Malta](https://community.elfsight.com/u/Chris_Malta)\
**Post date:** [April 6, 2024, 8:47pm UTC](https://community.elfsight.com/t/script-to-control-time-display/46450/1 "2024-04-06T20:47:59Z")

</div>

I need to disable display of event end time, and show start time only. I see that custom code can be used in the widget. Is there a CSS or JS solution to accomplish this?

---

<div class="post-metadata">

**Author:** ![Trainerw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/trainerw/32/2454_2.png) [@Trainerw](https://community.elfsight.com/u/Trainerw)\
**Post date:** [April 7, 2024, 4:35pm UTC](https://community.elfsight.com/t/script-to-control-time-display/46450/2 "2024-04-07T16:35:31Z")

</div>

Hi Chris, and welcome to the forum. The Staff does know its CSS, so they should be able to help you. Hang in there, Staff will be with you when they return from their well-deserved weekend.

---

<div class="post-metadata">

**Author:** ![Chris\_Malta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/chris_malta/32/22258_2.png) [@Chris\_Malta](https://community.elfsight.com/u/Chris_Malta)\
**Post date:** [April 8, 2024, 3:39am UTC](https://community.elfsight.com/t/script-to-control-time-display/46450/3 "2024-04-08T03:39:16Z")

</div>

Thanks, Mike, looking forward to it. :o)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [April 8, 2024, 10:21am UTC](https://community.elfsight.com/t/script-to-control-time-display/46450/5 "2024-04-08T10:21:15Z")

</div>

Greetings @Chris_Malta and welcome aboard 👋

To hide the end time, you just need to set the same start and end tine of the event:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/d/7/d78000973a89081b2c615d8e3a45bbfca5d6186a.jpeg)

Could you please check it and let me know if it helped 🙂

---

<div class="post-metadata">

**Author:** ![Chris\_Malta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/chris_malta/32/22258_2.png) [@Chris\_Malta](https://community.elfsight.com/u/Chris_Malta)\
**Post date:** [April 8, 2024, 3:12pm UTC](https://community.elfsight.com/t/script-to-control-time-display/46450/6 "2024-04-08T15:12:55Z")

</div>

It did. Excellent. Thanks Max.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [April 8, 2024, 3:22pm UTC](https://community.elfsight.com/t/script-to-control-time-display/46450/7 "2024-04-08T15:22:02Z")

</div>

Great!

You are most welcome 😉
