0 votes
in SoSci Survey (dt.) by s093207 (280 points)

Hallo! Ich habe folgende Frage.

Mir fiel gerade auf, dass ich in folgendem Code "+14 day" statt "+14 days" geschrieben habe. Funktioniert der Code dennoch?

**// Serienmail Post-Test Kontrollgruppe Mail 4 an B103 nach 14 Tagen versenden   
$zeitpunkt = strtotime('+14 day');  
mailResume($personID, 4, $zeitpunkt);
}}**

1 Answer

0 votes
by SoSci Survey (305k points)

Ja, Sie können den Befehl hier ausprobieren:
https://onlinephp.io/strtotime

In der Anleitung zu den Formaten unter Relative Formate wird das "s" auch explizit als optional beschrieben, alleridngs in Regex-Syntax 's'? ... das ist vielleicht nicht für jede:n sofort ersichtlich ;)

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...