# DateTime input doesn't work if value is less than 2011/11/30

**URL:** <https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570>\
**Category:** Ignition\
**Created:** [November 30, 2021, 3:32pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570 "2021-11-30T15:32:11Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [November 30, 2021, 3:32pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/1 "2021-11-30T15:32:11Z")

</div>

Perspective 8.1.11

I created a view with a DateTime input (not picker!), with type set to ‘Time’.  
If I bind a custom prop to the ‘value’ for the input component, then the value becomes unchangeable.

Is this a bug? or could I possibly be doing something wrong?

Thanks.  
-Shane

UPDATE: it appears to be related to having a value less than 2011/11/30!

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [November 30, 2021, 4:08pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/2 "2021-11-30T16:08:26Z")

</div>

Seems to become “unchangeable” if the underlying value \< 2012 ???

UPDATE: it appears to be related to having a value less than 2011/11/30!

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [November 30, 2021, 4:17pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/3 "2021-11-30T16:17:10Z")

</div>

If you are binding the value of the component to some expression or property, then the value will do its best to be exactly what the expression you wrote says. So it makes sense that a user would not be able to change it. What did you bind it too? I assume when you try to change it, it just reverts to what you bound it to?

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [November 30, 2021, 5:45pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/4 "2021-11-30T17:45:15Z")

</div>

Definitely related to trying to use the DateTime input with a date less than 2012/1/1.  
Not sure of the exact cut off, but it definitely becomes “unchangeable” with dates of 2011/1/1 and earlier.

UPDATE: it appears to be related to having a value less than 2011/11/30!

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [November 30, 2021, 5:50pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/5 "2021-11-30T17:50:55Z")

</div>

Post your exact binding

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [November 30, 2021, 6:01pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/6 "2021-11-30T18:01:01Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/6/161ba599eec0d3000ab966709eec407f32a7e4f4.png)

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [November 30, 2021, 6:08pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/7 "2021-11-30T18:08:22Z")

</div>

What determines `parent.custom.time`? Is that a binding as well or calculated programatically?

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [November 30, 2021, 6:28pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/8 "2021-11-30T18:28:12Z")

</div>

simple custom property. it’s not related to the binding. it’s related to the value. it appears dates less than 2011/11/30 cause the DateTime input control to stop working.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/a/8aec334f5819c03b18d087355f5013d6b85f48c0.png)

It’s a simple view, with a single component:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/68099a4ac9063068ac63599aef5e4fb70adee565.png)

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [November 30, 2021, 6:34pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/9 "2021-11-30T18:34:20Z")

</div>

Try unchecking Bidirectional in your binding to `parent.custom.time`.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 30, 2021, 6:45pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/10 "2021-11-30T18:45:10Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/0584e239df6a62240d964f1f6d570791ee0a884d.png)

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [November 30, 2021, 6:53pm UTC](https://forum.inductiveautomation.com/t/datetime-input-doesnt-work-if-value-is-less-than-2011-11-30/53570/11 "2021-11-30T18:53:41Z")

</div>

Winner, winner! Thanks PGriffith. It’s a feature!
