var/yesterday="30/03/2017"
var/today="31/03/2017"
If(today>yesterday)...
I've been told that this isn't possible on DM, so is there any alternatives to storing the day, month and year separately? Thanks.
Hey. So, I want to compare full dates, like:
var/yesterday="30/03/2017" I've been told that this isn't possible on DM, so is there any alternatives to storing the day, month and year separately? Thanks. |
Mar 31 2017, 11:36 am
Best response
|
|
If you put the date in YYYY/MM/DD format and leading zeroes are included, you can compare the strings with cmptext().
|