in reply to Re: Difficult on use time
in thread Difficult on use time
DateTime is pretty good enough for conditions, however it complexity increased the interpret time and maintenance effort. Though I really use them them in some real difficult calculation. But for something just like :
I really don't want to call a moduledoSomething() if ( time == $triggerSecond );
However, thank you for your reminder! I think I should consider to use DateTime for now, which could be a nice tools I've forgotten when I am dealing with this package.
|
|---|