Great and useful video, thank you. Question: I created this variable: StartDate as DateTime variable and assign to: DateTime.ParseExact(strUserInputDate,"dd/MM/yyyy",System.Globalization.CurrentInfo.InvariantCulture) strUserInputDate is a string variable containing the user input of a date in this format: dd/MM/yyyy Let's say the user inputs: 31/12/2022 When I do a Write Line for StartDate, it shows: 12/31/2022 which is MM/dd/yyyy format How can i output: 31/12/2022 instead of 12/31/2022?
Like i have the Excel and it has the date format MM/dd/yyyy and dd/MM/yyyy so bot take the date from Excel but how to know the bot this is MM/dd/yyyy format. When the date 01/07/2022 and 07/01/2022 in that case bot not provide me the correct date format it take Excel value as it. But when day or Month greater than 12 in that case it will work bot identify which is day and which month I need to work bot in case when day and month less than 12 and result date in MM/dd/yyyy format Could you please suggest me some on this
Hi Team im getting below error while converting the String to Date format. any suggestions how to get over this..? Error: Assign: String was not recognized as a valid DateTime.
Hi Guys! Hope you found this video useful. Please like, share and subscribe to my channel. This will motivate me to create more good content. Thanks!
Great and useful video, thank you.
Question:
I created this variable: StartDate as DateTime variable and assign to: DateTime.ParseExact(strUserInputDate,"dd/MM/yyyy",System.Globalization.CurrentInfo.InvariantCulture)
strUserInputDate is a string variable containing the user input of a date in this format: dd/MM/yyyy
Let's say the user inputs: 31/12/2022
When I do a Write Line for StartDate, it shows: 12/31/2022 which is MM/dd/yyyy format
How can i output: 31/12/2022 instead of 12/31/2022?
Im getting timestamp in the datetime variable, how can i remove the timestamp?
Like i have the Excel and it has the date format MM/dd/yyyy and dd/MM/yyyy so bot take the date from Excel but how to know the bot this is MM/dd/yyyy format.
When the date 01/07/2022 and 07/01/2022 in that case bot not provide me the correct date format it take Excel value as it. But when day or Month greater than 12 in that case it will work bot identify which is day and which month
I need to work bot in case when day and month less than 12 and result date in MM/dd/yyyy format
Could you please suggest me some on this
Nice!! helpful content :)
Hi Team
im getting below error while converting the String to Date format. any suggestions how to get over this..?
Error: Assign: String was not recognized as a valid DateTime.
Kindly create variable properly
great demo, thank you
write range which you passed is A1 instead of C2
hello mam please respond to mail...regarding automation anywhere v11 version
Hi, I have replied
Thanks a lot.