Space Engineers

Space Engineers

Digital Clock
8 Comments
pro100tv 24 Dec, 2021 @ 4:25am 
Works great! Thank you!
Corpsy 8 May, 2021 @ 11:49am 
forgot! and add into the documentation:
//to example of LCD CustomData:
UTC = +3
//0 = your Local time, -2 = minus 2 hours, +2 or 2 = plus two hours

o/
Corpsy 8 May, 2021 @ 11:43am 
Dear Speedy Gonzales! Best clock-script, BESTEST style of programming!!! But for me need multiclocking: time in Moscow, time in Bangkok, for example...
May be add into script the pseudo UTC support? Like below:
---8<------------------------------------------------------------------------------
//to class TextPanel:
int UTC;

//to func void LoadConfig():
case "UTC":
if (!(int.TryParse(v, out UTC)))
UTC = 0;
break;

//to func void Show(Action<string> f)
DateTime bbb = DateTime.Now.AddHours(UTC);

int Second = bbb.Second;
string Hour = bbb.ToString("HH");
string Minute = bbb.ToString("mm");
--------------------------------------------------------------------------------------
Thanx anyway! One more, urs programming skill is very cool! o/ from Russia ))
ramphaleom 30 Oct, 2020 @ 11:59pm 
simple et pratique , Merci :)
Wolf 15 Jul, 2019 @ 2:49am 
Hello there, could you implement a setting for time zones please ? my server isn't hosted on the same time zone as the players and myself, and I can't figure shit about C# in that case ^^
Lanyx 16 Apr, 2019 @ 11:17am 
Nice
woostyboy 7 Sep, 2018 @ 7:24am 
Great work! Could this be used to show info other than time?
Morphik 29 Jul, 2018 @ 8:46am 
Very well done!