VishalMistry
16th January 2019, 14:53
Hello Everyone,
We have a situation where two tables have date fields with time also. Where as the requirement is to compare only date part.
table1.datefield = "01-10-2019 01:10:10"
table2.datefield = ""01-10-2019 01:15:10"
Our requirement is when we compare table2.datefield with table1.datefield, it should compare only date part and not the time portion.
Can anyone guide how this can be achieved?
Thanks,
Vishal
We have a situation where two tables have date fields with time also. Where as the requirement is to compare only date part.
table1.datefield = "01-10-2019 01:10:10"
table2.datefield = ""01-10-2019 01:15:10"
Our requirement is when we compare table2.datefield with table1.datefield, it should compare only date part and not the time portion.
Can anyone guide how this can be achieved?
Thanks,
Vishal