Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


mgu
  •  mgu
  • No customer Topic Starter
2014-05-01T19:31:50Z
I need to pass a date parameter in and HTTP task with a millisecond converted date. Does anyone know if this function is supported? For example date 1/1/2014 would be converted to 1388552400000 (milliseconds date format).
Sponsor
Forum information
Support
2014-05-01T19:42:35Z
There is no such function yet. I am moving this to Feature requests forum. But you can use the .NET code task to create this. Here is the method for converting a date to milliseconds:

DateTime.Now.TotalMilliseconds.ToString()

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
mgu
  •  mgu
  • No customer Topic Starter
2014-05-01T19:51:17Z
Thank you. I am not sure how to do that in a .NET task. I am calling an API (link and passing date parameters in milliseconds), I need to authenticate with a username and password and then download a file.
Support
2014-05-01T19:53:28Z
Should be pretty easy to add as a Variable. Hopefully we can add this in next week. Thanks.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2014-05-05T14:57:47Z
This feature has now been added for next version. When that comes out use "totalmilliseconds" as output format.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top