I have used
$date = new \DateTime();
Then I get datetime like $date=2019-05-08 07:47:20 pm
but I need 2019-05-08 01:47:20 pm
because of my GMT+6
How can I get in this situation?
Please sign in or create an account to participate in this conversation.
Use Markdown with
GitHub-flavored code blocks.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!