Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
9 subscribers
Views
1456 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hello All, My objective is to convert input to datetime. I
tapans
over 9 years ago
Hello All,
My objective is to convert input to datetime.
Input can be like this :
1) 24 days
2) 7 days 4 hours 20 minutes
3) 5 days 20 hours
4) 10 hours
Output:
I want to convert above inputs to datetime().
Could some one please suggest me the simplest way?
Thanks!
OriginalPostID-208669
OriginalPostID-208669
Discussion posts and replies are publicly visible
Parents
0
sagarl511
A Score Level 2
over 9 years ago
Assuming addition to current date - You can achieve this by writing custom rule to add days, hours and minutes. For e.g - 7 days 4 hours and 20 minutes - now()+7+intervalds(4,20,0). But this will not consider working calendar.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sagarl511
A Score Level 2
over 9 years ago
Assuming addition to current date - You can achieve this by writing custom rule to add days, hours and minutes. For e.g - 7 days 4 hours and 20 minutes - now()+7+intervalds(4,20,0). But this will not consider working calendar.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data