--date

Last updated: May 1, 2026

The date and time to roll back to. Format: YYYY-MM-DD HH:MM:SS or YYYY-MM-DD'T'HH:MM:SS.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--date=<string>

Liquibase properties file (defaults file)

liquibase.command.date: <string>

Command flow file argument (example)

cmdArgs: { date: "<string>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.date=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_DATE=<string>