diff --git a/example.config.ini b/example.config.ini
index 24f67ba..ca74072 100644
--- a/example.config.ini
+++ b/example.config.ini
@@ -10,4 +10,7 @@ DOMAINS=yourdomain,sub.yourdomain
[MAILSERVER]
; Port that the Mailserver will run on (default 25 but that needs root)
-MAILPORT=25
\ No newline at end of file
+MAILPORT=25
+[DATETIME]
+; The moment.js format you'd like your date to be formatted in
+DATEFORMAT="D.M.YYYY HH:mm"
\ No newline at end of file
diff --git a/web/api.php b/web/api.php
index d37e95b..2300d04 100644
--- a/web/api.php
+++ b/web/api.php
@@ -60,6 +60,7 @@ switch($action)
{
$o['status'] = 'ok';
$o['type'] = 'admin';
+ $o['dateformat'] = $settings['DATEFORMAT'];
$emails = listEmailAdresses();
$emaillist = array();
diff --git a/web/index.html b/web/index.html
index 01471e1..a16805d 100644
--- a/web/index.html
+++ b/web/index.html
@@ -42,5 +42,6 @@
+