# GET Time of The Pc and set a variable isthme it

**URL:** <https://forum.bome.com/t/get-time-of-the-pc-and-set-a-variable-isthme-it/5354>\
**Category:** Bome Products\
**Tags:** midi-translator, bome-midi-translator\
**Created:** [July 20, 2023, 12:45pm UTC](https://forum.bome.com/t/get-time-of-the-pc-and-set-a-variable-isthme-it/5354 "2023-07-20T12:45:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![r-ml](https://forum.bome.com/letter_avatar_proxy/v4/letter/r/df705f/32.png) [@r-ml](https://forum.bome.com/u/r-ml)\
**Post date:** [July 20, 2023, 12:45pm UTC](https://forum.bome.com/t/get-time-of-the-pc-and-set-a-variable-isthme-it/5354/1 "2023-07-20T12:45:33Z")

</div>

Hi,  
I need to get the time of my Pc and set différentes Variables with Hour, minute and seconde.  
Do you know how i could do it ?.

Best Regards,  
Renaud.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [July 20, 2023, 4:04pm UTC](https://forum.bome.com/t/get-time-of-the-pc-and-set-a-variable-isthme-it/5354/2 "2023-07-20T16:04:26Z")

</div>

Hi and welcome to the Bome community!

Bome MIDI Translator does not have the capability to read your PC system time directly although you might be able to find an extremal application that can read the system time and change it to MIDI Time Format to send to Bome MIDI Translator Pro. It is possible that some DAWs may be able to do this.

Could you explain what you would do with the time variables if it was sent to Bome MIDI Translator Pro? Maybe we can help in some other way.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![r-ml](https://forum.bome.com/letter_avatar_proxy/v4/letter/r/df705f/32.png) [@r-ml](https://forum.bome.com/u/r-ml)\
**Post date:** [July 20, 2023, 5:39pm UTC](https://forum.bome.com/t/get-time-of-the-pc-and-set-a-variable-isthme-it/5354/3 "2023-07-20T17:39:18Z")

</div>

Hi Steve,  
First, thanks your quick respons,  
Second, thanks for the BEST SOFTWARE IN THE GALAXY, BOME TRANSLATOR.  
Third: I would like to send Time information to DAW to tell it to record at the time of the Computer. I have to do it without LTC or MTC Chasing Function of the DAW. So i need to do a : GOTO hh:mn:sec:frames and Rec where hh:mn:sec:frames is based on the time of the Computer.

Best Regards,  
Renaud.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [July 20, 2023, 8:32pm UTC](https://forum.bome.com/t/get-time-of-the-pc-and-set-a-variable-isthme-it/5354/4 "2023-07-20T20:32:16Z")

</div>

This would probably be best done with Windows Scheduler and a script that would.

1. Wait until the correct time to run (using Windows Schedule)
2. When starting the program have it set a variable within MT Pro using the command line.
3. When the variable is set within MT Pro, then formulate the timecode and signal the DAW via MIDI

As of version 1.9 you can use the Window command line to set global variables in MT Pro. See section 16.3 of the [user manual](https://www.bome.com/bome/downloads/manuals/miditranslator_manual.pdf).

There may be some work within MT Pro on how you want to represent the time using the global variable(s) you have set.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_
