diff --git a/htdocs/reception/list.php b/htdocs/reception/list.php
index 17518df8ab6..8b37df8c779 100644
--- a/htdocs/reception/list.php
+++ b/htdocs/reception/list.php
@@ -566,7 +566,7 @@ if ($resql)
print $langs->trans('DateInvoice');
print '';
print '
';
- print $form->select_date('', '', '', '', '', '', 1, 1);
+ print $form->selectDate('', '', '', '', '', '', 1, 1);
print ' | ';
print '';
print '';
diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index 1fd5939b4ac..38af5be87e4 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -3080,7 +3080,7 @@ if ($action == 'editmeta' || $action == 'createcontainer')
print '
| ';
print $langs->trans('DateCreation');
print ' | ';
- print $form->select_date($pagedatecreation, 'datecreation', 1, 1, 0, '', 1, 1);
+ print $form->selectDate($pagedatecreation, 'datecreation', 1, 1, 0, '', 1, 1);
//print dol_print_date($pagedatecreation, 'dayhour');
print ' |
';