PHP has a very nice way to handle dates you can do things like:
newDateTime('first day of this year')newDateTime('last day of this month')newDateTime('last day of December this year')newDateTime('last day of December this year +1 years');
That made my day! They probably spent significant efforts on parsing this :) On the other hand it is easier to use than whimsical functions and constants in go "time" package. Thank you once more!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Wow, thanks :) You see, though I'm not professional PHP dev and thus I don't know many such nice "short-cuts"... Thanks a lot!
PHP has a very nice way to handle dates you can do things like:
That made my day! They probably spent significant efforts on parsing this :) On the other hand it is easier to use than whimsical functions and constants in go "time" package. Thank you once more!