Jump to content

Archived

This topic is now archived and is closed to further replies.

Crimpage

PHP & SQL Date/Time Handling

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.