Searched refs:subtractYears (Results 1 – 7 of 7) sorted by relevance
42 self::assertSame('5 years ago', $timestamp->subtractYears(5)->diffForHumans());51 self::assertSame('il y a 5 ans', $timestamp->subtractYears(5)->diffForHumans());235 self::assertSame('2022-12-17 16:21:19', $timestamp->subtractYears(1)->toDateTimeString());236 self::assertSame('2024-12-17 16:21:19', $timestamp->subtractYears(-1)->toDateTimeString());
133 …$query->where('d_julianday1', '>=', Registry::timestampFactory()->now()->subtractYears(100)->julia…329 …ery->where('d_julianday1', '>=', Registry::timestampFactory()->now()->subtractYears(100)->julianDa…
152 public function subtractYears(int $years): TimestampInterface; function
53 … (<?= Registry::timestampFactory()->now()->subtractYears($fact->anniv)->diffForHumans() ?>)
19 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
28 $hundred_years_ago = Registry::timestampFactory()->now()->subtractYears(100)->julianDay();
180 public function subtractYears(int $years): TimestampInterface function in Fisharebest\\Webtrees\\Timestamp