From 008d2b03189eea69d1c1de41f13a9f87e805edb0 Mon Sep 17 00:00:00 2001 From: Gustavo Luigi <=> Date: Thu, 29 Jun 2023 08:14:57 -0300 Subject: [PATCH] added date formats --- content/contents/wettbewerb.blade.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/content/contents/wettbewerb.blade.php b/content/contents/wettbewerb.blade.php index 4da87e1..cc55c86 100644 --- a/content/contents/wettbewerb.blade.php +++ b/content/contents/wettbewerb.blade.php @@ -18,12 +18,35 @@
- {!!$content->beschreibung!!} + {{-- $content->beschreibung --}}
+ + +{{$content->datum}}
+ +Formatted Date: {{date("d.m.Y", strtotime($content->datum))}}
+ +Year: {{date("Y", strtotime($content->datum))}}
+Year: {{date("y", strtotime($content->datum))}}
+ + +Month: {{date("m", strtotime($content->datum))}}
+ + +Day: {{date("d", strtotime($content->datum))}}
+ + +Hour: {{date("H", strtotime($content->datum))}}
+ + +Minute: {{date("i", strtotime($content->datum))}}
+ + +Second: {{date("s", strtotime($content->datum))}}