You mean using `strtotime` if input is string? Sounds OK to me.