web2000 Posted May 1, 2007 Share Posted May 1, 2007 Hi, Please can someone show me how to covert a US date to UK date eg mm/dd/yyyy to dd/mm/yyyy Thanks Quote Link to comment Share on other sites More sharing options...
jitesh Posted May 1, 2007 Share Posted May 1, 2007 $usdate = date("m/d/Y"); $uk_date_arr = explode("/",$usdate); $ukdate = $uk_date_arr[1]."/".$uk_date_arr[0]."/".$uk_date_arr[2]; Quote Link to comment Share on other sites More sharing options...
nikkieijpen Posted May 1, 2007 Share Posted May 1, 2007 $usdate = date("m/d/Y"); $ukdate = date("d/m/Y", strtotime($usdate)); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.