Crimpage Posted September 1, 2006 Share Posted September 1, 2006 Hi All,Just a quick question. When using PHP and returning a Micorosoft SQL datetime field, it always returns it as "September 1 2006 12:00 AM" instead of "09-01-2006 00:00:00" as its stored in the database... I'm hoping its just an option i can change somewhere as I just want it to return the normal value.Thanks for you help.David. Link to comment https://forums.phpfreaks.com/topic/19314-php-sql-datetime-handling/ Share on other sites More sharing options...
redarrow Posted September 1, 2006 Share Posted September 1, 2006 cheeck the system bios mate[b]sorry in two minds good night all[/b] Link to comment https://forums.phpfreaks.com/topic/19314-php-sql-datetime-handling/#findComment-83811 Share on other sites More sharing options...
.josh Posted September 1, 2006 Share Posted September 1, 2006 uh.. what does the system bios have to do with the date/time format as it is stored on the server database? where is your code that retrieves the data and prints it? Link to comment https://forums.phpfreaks.com/topic/19314-php-sql-datetime-handling/#findComment-83814 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.