DateDiff():well cfml code is correct
<cfset today = DateDiff("s", Now()+9*60*60, CreateDate(1970,1,1)) />
this is correct way get the seconds from unix time...?
I tried put this number [today] in database(MySQL) and appear with PHP but shows..21:40 Thu 08 Jul 1976 time, well?
php:
if ($LastVisitDate1==NULL) { $LastVisitDate = "NOT SETUP"; } else { $LastVisitDate = date("H:i D d M Y", $LastVisitDate1); }
<?=$LastVisitDate ?>
well cfml code is correct?
Message was edited by: 123polis123
