Closed jasondavis closed 7 years ago
Running this code $TwoWeeksAgo = new DateTime(date("Ymd"));
$TwoWeeksAgo = new DateTime(date("Ymd"));
on the demno here https://code.phpsandbox.org/ results in this error message:
Sandboxed code attempted to call invalid type: DateTime
Is there a way to make this work?
Sorry seems I just needed to have different settings, etc
Running this code
$TwoWeeksAgo = new DateTime(date("Ymd"));
on the demno here https://code.phpsandbox.org/ results in this error message:
Sandboxed code attempted to call invalid type: DateTime
Is there a way to make this work?