Bug #15707 Updated: suggestion to Document about time() and other "Date and Time functions"

From: Date: Wed, 06 Mar 2002 18:23:20 +0000
Subject: Bug #15707 Updated: suggestion to Document about time() and other "Date and Time functions"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1814@lists.php.net to get a copy of this message
ID: 15707 Updated by: Xuefer@21cn.com Reported By: Xuefer@21cn.com Status: Open Bug Type: Feature/Change Request PHP Version: 4.1.1 New Comment: sorry for my fooly mistype @_@ i've read so many codes when they calc: when->which hold website--> whole website Previous Comments: ------------------------------------------------------------------------ [2002-02-25 00:11:17] Xuefer@21cn.com why isn't there any suggestion/guide to the web-developers that we should use unix timestamp for internal processing and allowing convert in input/output almost every c/c++ programmer would think, it's fooly yet funny to operate TIME using STRING format also in low speed i've read so many codes when they calc the time_diff mktime(..substr($time, 0, 4) - substr(..)..... blah... blah); i'm using unix timestamp in my hold website, and output in certain format as I like. it's simple yet enough! i'm afraid it's only needed by mysql to store string-format timestamp(mysql timestamp) that we can search by month or year and others ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15707&edit=1

« previous php.bugs (#1814) next »