question

yexioamu avatar image
0 Likes"
yexioamu asked Jeanette F commented

How can i get the windows system time?

How can i get the windows system time?

FlexSim 21.2.4
time
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Przemyslaw Pasich avatar image
0 Likes"
Przemyslaw Pasich answered Przemyslaw Pasich commented

Try:

  1. DateTime now = DateTime(realtime(11) + " " + realtime(10), "%m/%d/%y %H:%M:%S");
  2. return now.toString();
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.