Message Oracle ORA-38790 - BEFORE must be specified with RESETLOGS

ERRORBEFORE must be specified with RESETLOGS
CAUSEThe FLASHBACK DATABASE command included the RESETLOGS parameter but not the BEFORE parameter.
ACTIONRetry the command with TO BEFORE RESETLOGS.