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

Infer timestep from input time axes #5

Open
jannefiluren opened this issue Sep 24, 2017 · 0 comments
Open

Infer timestep from input time axes #5

jannefiluren opened this issue Sep 24, 2017 · 0 comments

Comments

@jannefiluren
Copy link
Owner

Use a code like the one below to determine the simulation time step from the input time:

t1 = DateTime(2000,1,1)
t2 = DateTime(2000,1,2)
convert(Int64, Dates.value(t2-t1))/3600e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant