Hi,
This is fine actually, as long as you do this only once for each dates, and only when the game starts or at a specific time during the game process.
The other solution is to not save dates as strings, but as ints, and then you only need to convert the current date as int and simply compare ints. that would be the way to do it to gain performances.
I looked at date string comparision, and they parse it first before comparing, or actually create a proper datetime object that requires entering year, month, day, time as separate ints, so that work would have to be done up front anyway. So I am not sure creating a custom action would make it more efficient, and actually would require the action to always parse the current date, where if you compare ints yourself, then you only need to parse the current date once.
bye,
Jean
Bye,
Jean