Making it implicitly cast to Date() does not looks correct, since before it returns somewhat unexpected result: SELECT toUnixTimestamp(today()) ┌─toUnixTimestamp(today())─┐ │ 18591 │ └──────────────────────────┘