Skip to main content
Skip table of contents

convertISO

Type


Version information

15.1

Web Client(Haken)

Code

GROOVY
String DateUtils.convertISO(Date date);

Beschreibung

Formatiert Datum und Uhrzeit nach ISO 8601 im Format "yyyy-MM-dd'T'HH:mm:ss".

Parameter

  • date - Der Datumswert für die Konvertierung

Rückgabe

Gibt das Datum und die Uhrzeit als Text formatiert zurück.

Beispiele

GROOVY
String dateTime = DateUtils.convertISO(new Date(0));
//=> "1970-01-01T01:00:00"
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.