that's a problem in locale.conf

Alles, was PHP betrifft, kann hier besprochen werden.

that's a problem in locale.conf

Postby sailaja » 16. November 2018 10:26

echo date('d/m/Y H:i:s');
//output: 13/12/2017 11:10:57

print_r(getDataArray($dblink, 'select current_timestamp'));
//output: Array ( [0] => Array ( [computed] => **2017-04-12 11110:05** ) )
When I try to get a "current_timestamp" + php + sql server, I get an error, an incorrect date. Can anyone help me?

date convert in mssql config (php.ini) is "off"

that's a problem in locale.conf ? /etc/locale.conf ....

Thanks,
Sailaja
sailaja
 
Posts: 1
Joined: 17. July 2018 13:03
XAMPP version: 1.7.7
Operating System: windows

Return to PHP

Who is online

Users browsing this forum: No registered users and 17 guests