PHP timestamps

Bastian Gerhard <[email protected]> Mon, 22 Dec 2003 20:12:37 +0100
Newsgroups gmane.comp.cms.general
Message-ID <[email protected]>
I've never had problems with neither DATE, TIME nor DATETIME stamps in 
PHP. Although I dont know your application, both ISO and UNIX 
timestamps are simply characters variables with a well defined notation 
and are suitable for sorting just like integers.

So far,
Bastian.

Am 22.12.2003 um 18:54 schrieb Thomas Gagné:
> We use PHP at one of our clients and the biggest problem we have with 
> it (I don't use it myself, much) is the Sybase interface doesn't 
> support DATE and TIME types and there appears to be no numeric 
> (decimal) type. The latter issue is important, I think, in supporting 
> financial applications so I wouldn't recommend it since there are 
> other languages suitably equipped for both dynamic web page stuffs and 
> financial stuffs.
>
> The lack of DATETIME types means they're constantly being converted 
> into and out of strings then there's more work to sort them 
> accordingly.

--
http://cms-list.org/
please trim your posts.