Compare repeater date value to today's date

I have set a global variable (named 'date') to today's date with [[GenDate]], it set the variable to:

Mon Sep 03 2018 14:47:05 GMT+0100 (British Summer Time)

I have a repeater, in each cell, i have a value such as:


I want to do a conditional statement.

If [[]] is less than [[date]] disable This

It doesn't work.

Does anyone have any ideas on how I can compare two different dates and what format they need to be in?

for other people’s reference, you have to use getTime().


(teh date column has a value of 09/03/2018, for example).

compare that to: