Hi Team,
I have a this type of date picker. It’s in read only mode. So i have used conversion method for dynamic date selection.
Now my problem is To date selector not working
dt=Now.AddDays(-1).ToString(“MMM/d/yyyy”)
Can some one help me on this.
“”
@vivek_sivam - You need to do this dt= Now.AddDays(-1).ToString(“dd/MMM/yyyy”)
It will provide you the result in the format 03/Jan/2020.
It is working for me.
Hope it will help you
Thanks!
Anmol
Hi @anmolk171
I have used the above one which i mentioned it will works for me(From date i can able to select dynamically), But i can’t able to select to date dynamically.
I have changed my assign activity like dt=Now.AddDays(-1).ToString(“dd/MMM/yyyy”).
I’m getting below error
@AshwinS2
Can you please some example.
Guys i need help on above one
Thanks
Hi @AshwinS2
Thanks. Can you please let me know where to i use this set web attribute.
Hi @vivek_sivam,
Use set text Activity, it will set the date to the input field. Give it a try.
@vivek_sivam - Use set text or Type Into Activity followed by Enter(Using Hot key). It will help you.
Best!!
Anmol
Hi @shankm
Thanks. Can you please give some examples.
Hi @anmolk171
Thanks. Can you please give some example.
Hi @shankm
From my website it have the current date as default date. I have give set text activity like this but it won’t select the 05-01-2020. it will type the ““now.AddDays(-1).ToString(“dd/MMM/yyyy”)””.
Thanks.
@vivek_sivam
From the screenshot you shared, I understood that the date must be in the format dd/MMM/yyyy
But here you are using MMM/d/yyyy
Some websites need the exact format to be entered, that’s why here it’s remaining unchanged.
Hi @shankm
Sorry i have used .
But in my web site date picker is read only
Thanks
Can you share the url of the page, so that I can check and tell
hi Can we connect now
Ys, let’s connect
Hi Shan
Please let me know once you reach your home
Thanks