Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about date helper #1783

Closed
vibbow opened this issue Mar 2, 2019 · 1 comment
Closed

Question about date helper #1783

vibbow opened this issue Mar 2, 2019 · 1 comment

Comments

@vibbow
Copy link
Contributor

vibbow commented Mar 2, 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.

@jim-parry
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants