diff --git a/test/other/test_uncrypt.php b/test/other/test_uncrypt.php index 2607215ef32..664791e095c 100755 --- a/test/other/test_uncrypt.php +++ b/test/other/test_uncrypt.php @@ -15,7 +15,10 @@ if (! $res) { if (! $res) { @include_once './master.inc.php'; } +include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; +print dol_stringtotime('2024-01-01')."\n"; +print dol_stringtotime('2024-01-01 00:00:05'); print "Decode with dol_decode a value crypted with dol_encode:.... in conf.php file\n";