blob: fb95c2d8e49a6ad1840e1c6f42cf569a16f61b18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
$time=1414929600;
$now=time();
$secs = $now - $time;
$now = date_create('now', new DateTimeZone('GMT'));
$here = clone $now;
$here->modify($secs.' seconds');
$diff = $now->diff($here);
$body = $diff->format('Wir sind %a Tage, %h Stunde, %i Minuten und %s Sekunden zusammen.');
mail("fnetzband@googlemail.com", "Timestamp duration relationship", $body, "From: Liebling <max-moehring@web.de>\r\n");
|