![]() |
Question about date helper - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Question about date helper (/showthread.php?tid=72933) |
Question about date helper - vibbow - 03-02-2019 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. |