• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about date helper

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.