Re: [PHP] uk date to mysql date and back again

2007-04-10 Thread Zoltán Németh
2007. 04. 10, kedd keltezéssel 15.59-kor Ross ezt írta: > I have made a very messy function for this that splits the string up does > all kinds of stuff but I was wondering if anyone has a 1 or 2 line function > for gettting a uk date > > dd/mm/ (it is a string)to mysql version -MM-DD w

Re: [PHP] uk date to mysql date and back again

2007-04-10 Thread Jan Brucek
Hi, maybe what you are looking for are functions strtotime() and date(). Since PHP5.1 you can also define timezone through date_default_timezone_set(). J. Ross wrote: I have made a very messy function for this that splits the string up does all kinds of stuff but I was wondering if anyone has

Re: [PHP] uk date to mysql date and back again

2007-04-10 Thread Stut
Ross wrote: I have made a very messy function for this that splits the string up does all kinds of stuff but I was wondering if anyone has a 1 or 2 line function for gettting a uk date dd/mm/ (it is a string)to mysql version -MM-DD and then back again. Assuming you can guarantee tha

[PHP] uk date to mysql date and back again

2007-04-10 Thread Ross
I have made a very messy function for this that splits the string up does all kinds of stuff but I was wondering if anyone has a 1 or 2 line function for gettting a uk date dd/mm/ (it is a string)to mysql version -MM-DD and then back again. ta, R. -- PHP General Mailing List (http:/