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
7 replies
Subscribers
8 subscribers
Views
3973 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I need to build a numeric string for a time stamp of exactly YYYYMMDDHHMMSSCCC
joep45
over 9 years ago
I need to build a numeric string for a time stamp of exactly YYYYMMDDHHMMSSCCC
Is there an alternative to using if() statements on everything in order to force 07 for the month of July, 09 for 9am etc
The person who developed the corresponding program showed me the c# code which uses padleft to insert 0s but appian padleft only allows for spaces to be inserted. Is there any other function to save from having 6 if() statements to generate this string?
OriginalPostID-158950
OriginalPostID-158950
Discussion posts and replies are publicly visible
Parents
0
joep45
over 9 years ago
I'm using the appian date functions but for example month(now()) returns 7 when i need 07 i can wrap it in an if statement but is there some other way?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
joep45
over 9 years ago
I'm using the appian date functions but for example month(now()) returns 7 when i need 07 i can wrap it in an if statement but is there some other way?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data