Hi Team,
Right now i am using 2 ‘type into’ activity for start and end date field but when bot is entering start date then i am getting error “Start and End date are required” and even after entering end date still error is showing. Due to error i am unable to click on submit button.
How to select dates from calendar?
Please help me to resolve this issue.
mkankatala
(Mahesh Kankatala)
March 11, 2024, 5:54am
2
Hi @Smitesh_Aher2
Could you share some pictures, how the Ui look like…
Thanks for your response @mkankatala
Just now i found the issue why error is showing.
Bot entering start date as 09/09/2022 & end date as 01/07/2024 00:00:00
Error is occurring because of highlighted part… How we can remove it? which expression should i use for to remove highlighted part.
mkankatala
(Mahesh Kankatala)
March 11, 2024, 6:09am
4
Okay @Smitesh_Aher2
- Assign -> EndDate = "01/07/2024 00:00:00"
- Assign -> EndDate = (CDate(EndDate)).ToString("MM/dd/yyyy")
Hope it helps!!
1 Like
@Smitesh_Aher2 ,
If end date is DateTime type use this - dtmEndDate.ToString("dd/MM/yyyy")
If your date is string use this - strEndDate.Split(" ")(0)
Thanks,
Ashok
Thanks @mkankatala & @ashokkarale Both solutions are worked.
2 Likes
mkankatala
(Mahesh Kankatala)
March 11, 2024, 6:19am
7
It’s my pleasure… @Smitesh_Aher2
Happy Automation!!
system
(system)
Closed
March 14, 2024, 6:19am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.