LS,
I am looking for a way to get the date and time of the simulation.
I already have month and year (welt->get_current_month() % 12 + 1, welt->get_current_month() / 12)
But how to get to days, hours, minutes and seconds ? Expect something with ticks ?
Kind regards,
Herman
Simutrans does not know other time units than years, months, and ticks. One month = ticks_per_world_month ticks.
Actually, Simutrans does know something about days, hours and minutes. It is displayed in the lower left corner depending on the show_month setting. I think it's just a visual thing, and whether a month has days or hours at all depends on the setting.