laeufermeeting-theme/content/contents/wettbewerb.blade.php

56 lines
1.6 KiB
PHP

@extends('template.'.config('settings.template').'.content.master')
@section('head')
<title>{{$content->title}}</title>
@stop
@section('content')
<div class="nav-backed-header parallax">
<div class="container" style="height: 55px;">
</div>
</div>
<div class="main" role="main">
<div id="content" class="content full">
<div class="container">
<h1>{{$content->title}}</h1>
<p class="mt-3 mb-4">
{{-- $content->beschreibung --}}
</p>
<p><time datetime="{{$content->datum}}">Datum</time></p>
<!-- full date -->
<p>{{$content->datum}}</p>
<!-- formatted date -->
<p>Formatted Date: {{date("d.m.Y", strtotime($content->datum))}}</p>
<!-- get only year -->
<p>Year: {{date("Y", strtotime($content->datum))}}</p>
<p>Year: {{date("y", strtotime($content->datum))}}</p>
<!-- get only month -->
<p>Month: {{date("m", strtotime($content->datum))}}</p>
<!-- get only day -->
<p>Day: {{date("d", strtotime($content->datum))}}</p>
<!-- get only hour -->
<p>Hour: {{date("H", strtotime($content->datum))}}</p>
<!-- get only minutes -->
<p>Minute: {{date("i", strtotime($content->datum))}}</p>
<!-- get only seconds -->
<p>Second: {{date("s", strtotime($content->datum))}}</p>
</div>
</div>
</div>
@stop