I have problem with format date while query get data in laravel.
I want output format date of pubDate is: Tue Aug 08 10:18:15 +0000 2018
$posts = DB::table('posts')
->select('link','guid','title',DB::raw('DATE_FORMAT(pubDate, "%W %M %d %H:%i:%s +0000 %Y") as pubDate'),'description')
->where('hashtag_id',$hashtag_id)
->offset(1)
->limit(10)
->get();
How can I replace +0000 with format timezone of laravel in query above?
Thanks.