Bug?: date does not resolve at run time - VisualCron - Forum

Community forum

Jon Tofte-Hansen
Server/Client: 8.5.5:

I am trying to implement the built in DaysBetween variable. But it only seems to work when tested interactively. At runtime it seems that all DATE variables with date input resolves to 0.

I have put a couple in a write file task to test it, and they return expected result in the variable tool but not at run time:

Am I missing something?
In the example the dates passed in are in a different format then what you show. Could that be it?
Variable tool when I select the days between function:

when I paste your example in I get 0.

I'm in the U.S., maybe it's related to the default date format for the machine?
Jon Tofte-Hansen
Ahr, of course!

Thank you Gary_W for clarifying that. For some reason our server host user uses the despicable US notation...

I will put a change request for input masks.
Scroll to Top