sandis_m Posted December 11, 2009 Report Share Posted December 11, 2009 Man ir piemeram dienasgraamata....karo4 katrs lietotaajs kaut ko raksta... uun ir laucinsh 'time' kursh saglabaa time(); uun nevaru saprast, kaa dabuut taa lai paraadiitos pirms cik ilga laika tika publiceets. meeginjaaju <?php $time = $row['time']; $timenow = time(); echo $timenow - $time; ?> bet man paraadaas 0... nezinu kaut ko nepareizi daru Quote Link to comment Share on other sites More sharing options...
waplet Posted December 11, 2009 Report Share Posted December 11, 2009 http://php.lv/f/topic/15023-datuma-parversana-nakotnes-pagatnes-forma/ Quote Link to comment Share on other sites More sharing options...
sandis_m Posted December 11, 2009 Author Report Share Posted December 11, 2009 http://php.lv/f/topic/15023-datuma-parversana-nakotnes-pagatnes-forma/ Paldies! :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.