php - how to store date coming from paypal -


i have date coming paypal payment_date , date formatted 07:39:49 jul 05, 2013 pdt,how can insert table. or how insert jul 05, 2013.. using php

thank in advance.

<?php $date="01:07:13 may 07, 2011 pdt"; echo date('y-m-d h:i:s',strtotime($date)); ?>

try above code


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -