But thanks to bpm suite, the implementation to do these operations are all already in place and if we give simple syntax which we use with simple types it will do the job.
Here a some of the operations which I would like to illustrate in this post. Comparing dates is as simple as comparing two integers.
Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. I'm struggling with a issue since hours and can't seem to fix it.
When I execute this script via shell it works and I also get the right email output sent to me, but when it executes via cronjob it somehow always says the backup failed, which isn't correct and it worked manually executing it.
If I want to do something as simple as setting a variable to one month from today, I need a big ugly mess that looks something like this: Even then, I can never remember if that will work properly when I'm going from December to January or going from the 31st of the month to a month with less than 31 days. It provides a multitude of date formats and significantly simplifies date manipulation.
In this video I show how to create custom variable types in Teamworks for storing date objects in formats other than what is provided ootb.
The examples shown in the video include a custom date format "MM/dd/yyyy", a custom date/time format "MM/dd/yyyy h:mm a" and a timestamp format including milliseconds "MM/dd/yyyy h:mm:ss.
Basically it's just a simple date component concatenation in the right format, and augmenting of the Date object's prototype. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
To use in your own coach view, simply add as an AMD dependency and reference the library as normal.