Home / php / How To Define Timezone on Lumen Laravel

How To Define Timezone on Lumen Laravel

Maybe it is little bit tricky and very simple because it’s related with timezone. But i think i need to write it down because i didn’t find any documentation explain about this clearly.

So, if have problem that your data/time not exactly as your timezone you need to set it in environment file.

APP_TIMEZONE=ASIA/JAKARTA

you just replace the value of my timezone, and that’s enough :)

About alfach

Check Also

mqdefault

Middleware Session Timeout Laravel

Menentukan berapa lama session user berada didalam aplikasi adalah hal yang penting. Pengaturan session timeout ...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>