Is there any option to compare dates with Date format yyyymmddhhmmss
with the current date?
Basically one of my external source have this type of date and I have to compare this date with the current date
and check difference in between. I have tried to split those date with LEFT,MID,RIGHT functions
, so basically, I have two columns - first with date, second with time, but I cannot find any option to subtract current date with date in column, because results are not coming correct.
Sample of date: 20161112203545
after splitting: 2016-11-12 20:05:45
.
Any ideas?