# Get date and time format from the Robot

**URL:** https://forum.universal-robots.com/t/get-date-and-time-format-from-the-robot/6997
**Category:** URCap Development
**Tags:** timing
**Created:** [April 17, 2020, 1:21pm UTC](https://forum.universal-robots.com/t/get-date-and-time-format-from-the-robot/6997 "2020-04-17T13:21:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anon85720626](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@anon85720626](https://forum.universal-robots.com/u/anon85720626)
#### Post date: [April 17, 2020, 1:21pm UTC](https://forum.universal-robots.com/t/get-date-and-time-format-from-the-robot/6997/1 "2020-04-17T13:21:22Z")

</div>

Hey. Is it possible to get the date format and time format that the robot is using? I’m talking about the format you can choose under Setting menu → preferences tab → time tab. I would like to use it in a URCaps plugin i am developing.

---

<div class="post-metadata">

### Author: ![Savoia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/savoia/32/4844_2.png) [@Savoia](https://forum.universal-robots.com/u/Savoia)
#### Post date: [January 27, 2021, 4:14am UTC](https://forum.universal-robots.com/t/get-date-and-time-format-from-the-robot/6997/2 "2021-01-27T04:14:41Z")

</div>

This sample might help you [URCap Sample: Get Controller Time in URScript](https://forum.universal-robots.com/t/urcap-sample-get-controller-time-in-urscript/1256)
