Skip to content

new DateTime in rules #323

Answered by scayrab
scayrab asked this question in Q&A
Discussion options

You must be logged in to vote

Ok - I figured it out. I was assuming that you would need to "new" the DateTime. This wasn't the case. I ended up removing the "new" keyword and was able to get the GlobalParams to work:

This is wrong:

This is the correct way to instantiate "new" DateTime in GlobalParams:

The end results generated as Inputs:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abbasc52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant