Time Since/Until (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.5, 2.10 (time until)

Syntax

[the] time since %dates%

Description

The time since a date has passed or the time until a date will pass. This expression will return 0 seconds if the time since or time until would be negative, e.g. if one tries to get the time since a future date.

Examples

send "%time since 5 minecraft days ago% has passed since 5 minecraft days ago!" to player
send "%time until {countdown::end}% until the game begins!" to player

View source