fork download
  1. Date currentDate = '2025-10-01';
  2. System.debug(currentDate);
Success #stdin #stdout #stderr 0.02s 8896KB
stdin
Standard input is empty
stdout
Object: Date error: did not understand #currentDate
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
Date class(Object)>>doesNotUnderstand: #currentDate (SysExcept.st:1448)
UndefinedObject>>executeStatements (prog:1)
stderr
./prog:2: expected expression