CodeIgniter Forums

Full Version: Question about date helper
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I just look through CI4 code, and when I look at date_helper->now function, I'm not quiet sure what is the scenario to use this function.

From what I can see, this function will return a timestamp for a given timezome

but AFAIK timestamp is timezone unrelated, no matter which timezone you are, if you query the timestamp at same time (synced action), you get the same timestamp.

If I misunderstand this function, please let me know.