You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Support questions should be asked on the forum, thanks.
We use github for bug tracking and planned work.
I think the answer is that now() is for a "master reference", which could be a timezone but doesn't have to be.
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.
The text was updated successfully, but these errors were encountered: