Re: datetime in MSSQL7
| From: | Frank M. Kromann | Date: | Tue, 23 Oct 2001 16:54:46 +0000 |
| Subject: | Re: datetime in MSSQL7 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13632@lists.php.net to get a copy of this message | ||
This problem has just been fixed in CVS.
- Frank
> Hello!
>
> How can I force PHP to fetch datetime field i 'yyyymmdd 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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>