if it just is a matter of reformatting (s.b.)
is s0,s :string; do s0 := to_str(eventcontroller.simtime); -- exchange eventcontroller.simtime by individual time s := copy(s0,1,strlen(s0)-8); print s; end;
And if not, this
timeInMinutes := 60 * ceil(timeWithSec / 60)
should do the trick
Thanks to both of you, but I used that second advice it works perfect, but I dont understand how it works, can you explain that code a little bit, so I can use it in future projects.
Thank you again !