Forum Discussion
Compare DateTime to Text
- 9 years ago
THnk I answered my own question, I used:
<Date(2017,2,16) + Time(12,00,0) which seems to have worked
you can always use this as well
< DATEVALUE("2017-02-16 12:00:00")
Not sure if that is any easier for you to create in your code
That would have been a bit easier and was what I tried initially, however after much headscratching I found a section in the docs that confirmed it ignores the time element (strangely it still throws an error if you input an ilegal time)
- Anonymous9 years agoNot applicable
Hi itchyeyeballs,
DATEVALUE(date_text)
Yes, time information in the date_text argument is ignored according to the official article.
As you have use a workaround to solve this issue, you can accept your reply as solution, this way, other community members would easily find the solution when they get same issues.
Thanks,
Lydia Zhang