Hello friends,
I am using postgres in php.I am trying to convert date entered by user as MM-DD-YYYY format to YYYY-MM-DD format.Can anyone give me a solution for this.
Thanks in Advance.
Hello friends,
I am using postgres in php.I am trying to convert date entered by user as MM-DD-YYYY format to YYYY-MM-DD format.Can anyone give me a solution for this.
Thanks in Advance.
Sure i will help you out with this did you try to use todate method.
Intel Core 2 Duo 2.8 Ghz
G31 Asrock Motherboard with Intel chipset
2gb RAM
256 Nvidia Graphic Card
200gb HDD
Yes i try to use todate method but i am not getting the correct answer for it.
Try to use the following code i am sure it will work for you
string date ( string $format [, int $timestamp ] )
int strtotime ( string $time [, int $now ] )
Bookmarks