I have a table field called RegisterDate as a date type in Interbase database.
The date format is like this "06/08/2003" for August 6th, 2003.
But when I use php to grab the date value and display it on the web page, it is "08/06/2003".
That is what I want.
My questions are
1) when php grab the date value "06/08/2003", how can it knows that it is August 6th, not June 8th?
Is it because when php grab the date value it also knows my interbase date format set up?
2) how can the php knows which format to display the August 6th, 2003? It is set up in the php.ini or not?
If it is set up in the php.ini, it will be set up for the whole server, how can I set up different site differently such as if www.mydomain.us use the us date format, but www.mydomain.uk use eurpean date format?
Thanks!