Bug #15707: suggestion to Document about time() and other "Date and Time functions"
| From: | Xuefer at 21cn dot com | Date: | Mon, 25 Feb 2002 05:11:18 +0000 |
| Subject: | Bug #15707: suggestion to Document about time() and other "Date and Time functions" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-989@lists.php.net to get a copy of this message | ||
From: Xuefer@21cn.com
Operating system:
PHP version: 4.1.1
PHP Bug Type: Feature/Change Request
Bug description: suggestion to Document about time() and other "Date and Time functions"
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 bug report at http://bugs.php.net/?id=15707&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15707&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15707&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15707&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15707&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15707&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15707&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15707&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15707&r=submittedtwice