xref: /PHP-7.3/ext/calendar/tests/jdtounix.phpt (revision e94670d4)
1--TEST--
2jdtounix()
3--INI--
4date.timezone=UTC
5--SKIPIF--
6<?php include 'skipif.inc'; ?>
7--FILE--
8<?php
9echo date("Y-m-d",jdtounix(2440588)). "\n";
10echo date("Y-m-d",jdtounix(2452162)). "\n";
11echo date("Y-m-d",jdtounix(2453926)). "\n";
12?>
13--EXPECT--
141970-01-01
152001-09-09
162006-07-09
17