Use idate and jdate to store date
This commit is contained in:
parent
150c73f049
commit
8e80c703fa
@ -373,13 +373,7 @@ if ($_POST["action"] == 'update')
|
|||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
$db->begin();
|
$db->begin();
|
||||||
//print $_POST["aphour"].','.$_POST["apmin"].',0,'.$_POST["apmonth"].','.$_POST["apday"].','.$_POST["apyear"];
|
|
||||||
//print $actioncomm->datep;
|
|
||||||
//print gmmktime($_POST["aphour"],$_POST["apmin"],0,$_POST["apmonth"],$_POST["apday"],$_POST["apyear"]);
|
|
||||||
//print $actioncomm->datep; // This is a GMT time
|
|
||||||
//print '-'.$db->idate($actioncomm->datep);
|
|
||||||
//print '-'.$db->jdate('19700101020000');
|
|
||||||
//print '-'.$db->gm($actioncomm->datep);
|
|
||||||
$result=$actioncomm->update($user);
|
$result=$actioncomm->update($user);
|
||||||
|
|
||||||
if ($result > 0)
|
if ($result > 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user