Re: [PHP-DB] datetime in MSSQL7

2001-10-23 Thread Frank M. Kromann


This problem has just been fixed in CVS. 

- Frank

> Hello!
> 
> How can I force PHP to fetch datetime field i 'mmdd hh:mm:ss'  WITHOUT
> using MSSQL query like *SELECT convert(varchar,dtfield,20) as 'dtfield'* and
> so on?
> I have a few tables on MSSQL with the different structures and some of
> fields are datetime. I have to use CLASS in php with querys inside the code
> that are independent on order of fields.
> 
> setlocale? but what?
> 
> regards
> Konrad
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] datetime in MSSQL7

2001-10-22 Thread kras

Hello!

How can I force PHP to fetch datetime field i 'mmdd hh:mm:ss'  WITHOUT
using MSSQL query like *SELECT convert(varchar,dtfield,20) as 'dtfield'* and
so on?
I have a few tables on MSSQL with the different structures and some of
fields are datetime. I have to use CLASS in php with querys inside the code
that are independent on order of fields.

setlocale? but what?

regards
Konrad



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]