In The Past/Future (Condition) — Skript
Addon: Skript · Category: Condition · Since: 2.10
Syntax
%dates% (is|are)[(n't| not)] in the (past|future)Description
Checks whether a date is in the past or future. Note that using the 'now' expression will not be in the past or future when used directly in the condition.
Examples
set {_date} to now
wait 5 seconds
if {_date} is in the past:
# this will be true
if now is in the future:
# this will be false
set {_dates::*} to 1 day from now, 12 days from now, and 1 year from now
if {_dates::*} are in the future:
# this will be true
if {_dates::*} have passed:
# this will be false