# Getting real time date

**URL:** <https://forum.universal-robots.com/t/getting-real-time-date/12916>\
**Category:** Technical Questions\
**Created:** [March 12, 2021, 10:33am UTC](https://forum.universal-robots.com/t/getting-real-time-date/12916 "2021-03-12T10:33:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon63938643](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@anon63938643](https://forum.universal-robots.com/u/anon63938643)\
**Post date:** [March 12, 2021, 10:33am UTC](https://forum.universal-robots.com/t/getting-real-time-date/12916/1 "2021-03-12T10:33:25Z")

</div>

Yesterday I have spent like few hours trying to obtain somehow the date time in to a variable or something. I would start mention that it’s unfair having a Linux operating system and such a nice robot to not being possible to getting that data in to a variable.  
I know this is possible using an RPC server, for example I have succeed to do that using a node-red tool listener, but even then, people are talking about a robot in 2021 - please include this fixing in a future update or some free urcap for that. Because even in this way, using an external device or a server we still have to make conversion of epoch time and then convert it back and send, so - I would do it by myself but I have no idea how to do an urcap - and even then i would suggest that should come from your side.

Thanks!

---

<div class="post-metadata">

**Author:** ![sko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sko/32/573_2.png) [@sko](https://forum.universal-robots.com/u/sko)\
**Post date:** [March 12, 2021, 1:48pm UTC](https://forum.universal-robots.com/t/getting-real-time-date/12916/2 "2021-03-12T13:48:40Z")

</div>

Hi Marius,

take a look at the following sample: [URCap - getControllerTime](https://github.com/BomMadsen/URCap-getControllerTime)

sko

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [March 14, 2021, 1:49pm UTC](https://forum.universal-robots.com/t/getting-real-time-date/12916/3 "2021-03-14T13:49:30Z")

</div>

Closed on March 14, 2021, 1:49pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
