using eloquent's magic methods instead of datetime columns