Space Engineers

Space Engineers

Digital Clock
8 kommentarer
pro100tv 24. dec. 2021 kl. 4:25 
Works great! Thank you!
Corpsy 8. maj 2021 kl. 11:49 
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. maj 2021 kl. 11:43 
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. okt. 2020 kl. 23:59 
simple et pratique , Merci :)
Wolf 15. juli 2019 kl. 2:49 
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 ♥♥♥♥ about C# in that case ^^
Lanyx 16. apr. 2019 kl. 11:17 
Nice
woostyboy 7. sep. 2018 kl. 7:24 
Great work! Could this be used to show info other than time?
Morphik 29. juli 2018 kl. 8:46 
Very well done!