23-12-24 02:08 PM
dear BP Community members.
i am learning Blueprism, i am trying to webbased application, i want to split MONTH name only from Date (format date is 07/15/2017), please guide how to get Month Name only from this date format and what will be use for expression.? thank you
Answered! Go to Answer.
23-12-24 02:33 PM
Hi @Adnan3194
If you add a calculation stage to your process and include the following FormatDate("07/15/2017","MMM") this should output the value as "Jul". If you want the full month name then you just increase the number of Ms in the format e.g. FormatDate("12/15/2017","MMMMMMMM") will show "December"
23-12-24 02:55 PM
23-12-24 02:33 PM
Hi @Adnan3194
If you add a calculation stage to your process and include the following FormatDate("07/15/2017","MMM") this should output the value as "Jul". If you want the full month name then you just increase the number of Ms in the format e.g. FormatDate("12/15/2017","MMMMMMMM") will show "December"
23-12-24 02:38 PM
but how to Get Only Month name from date expression? Mean if i get date (21 December 2024), Now i want just Month Name. how i will get only Month name?
23-12-24 02:55 PM
Try this :
FormatDate(ToDate("21 December 2024"),"MMMMMMMM")
23-12-24 03:16 PM
hi.. please guide how i get flags of these classes (Economy, First and Business Class) data will be pick from Item Data Collection [ITEM DATA.SERVICE CLASS]
how i will use expression that one will be mark one True and other mark false
24-12-24 07:15 AM - edited 24-12-24 07:16 AM
You should have just one input text data item something like [Service Class]
And then you can use the logic in multi choice criteria
Lower([Service Class])="economy class"
Lower([Service Class])= "business class"
Lower([Service Class])="first class"
You see what i mean ?
25-12-24 09:57 AM - edited 25-12-24 10:01 AM
thank you for your support