# \[Perspective\] Scripting using DateTimeInput.prop

**URL:** <https://forum.inductiveautomation.com/t/perspective-scripting-using-datetimeinput-prop/60021>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 25, 2022, 5:18pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-using-datetimeinput-prop/60021 "2022-05-25T17:18:11Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [May 25, 2022, 9:22pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-using-datetimeinput-prop/60021/9 "2022-05-25T21:22:50Z")

</div>

> [@Using system.tag.readBlocking and turning into string](https://forum.inductiveautomation.com/t/using-system-tag-readblocking-and-turning-into-string/57984/12):
>
> Let’s start from first principles. When you use [system.tag.readBlocking](https://docs.inductiveautomation.com/display/DOC81/system.tag.readBlocking), the return value is a list of [QualifiedValue](https://docs.inductiveautomation.com/display/DOC81/Scripting+Object+Reference#ScriptingObjectReference-QualifiedValue) objects. To extract the first element of the list, use subscript 0 to retrieve the first element: qualifiedValue = listOfValues[0]. Now you have a QualifiedValue object. To retrieve the actual value, which can be any type, use getValue(), or, better, .value: actualValue = qualifiedValue.value. The type of value at this point will be whatever the tag’s type is, per @josborn’s p…

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-scripting-using-datetimeinput-prop/60021)._
