WORKS PERFECT!
Thanks Brad!
-afan
> [EMAIL PROTECTED] wrote:
>> hi,
>> $date = "January 8 2007 11:23 pm";
>> and have to store it on db in datetime column as -mm-dd HH:ii:ss.
>> Is there any function that will "translate" $date in format I
>> need to store it in DB?
>>
>> Right now I was thin
[EMAIL PROTECTED] wrote:
> hi,
> $date = "January 8 2007 11:23 pm";
> and have to store it on db in datetime column as -mm-dd HH:ii:ss.
> Is there any function that will "translate" $date in format I
> need to store it in DB?
>
> Right now I was thinking to do like this:
>
> $date_new = explo
hi,
$date = "January 8 2007 11:23 pm";
and have to store it on db in datetime column as -mm-dd HH:ii:ss.
Is there any function that will "translate" $date in format I need to
store it in DB?
Right now I was thinking to do like this:
$date_new = explode(' ', $date);
switch($date_new[0])
{
ca
3 matches
Mail list logo