Hi all,

I am creating the order using the order classes available in zencart. when creating the order, i used to pass 'now()' for date_purchase field in $order->info so that purchase date is updated.

but it seems that it is not working or it is throwing a date 11/30/1999 00:00:00

what is the best way to pass the date? should i just pass the gmdate() string?