Hey guys,
I have two input arguments of type DateTime, I wanted to set it to null or nothing. It was taking default values like 01/01/0001, so i had to set it to Nullable DateTime. Now i want to convert those Nullable DateTime to DateTime. Please help
With regards,
Anit Michael
Jobin_Joy
(Jobin Joy)
November 29, 2021, 6:03pm
2
Hi @Anit ,
Welcome to UiPath Forum.
Try using Convert.ToDataTime('YourVariable")
Thank you.
Hi,
If you want to assign date time to nullable date time value. Please refrer the below thread. Thanks.
Hi @S Savickas
Getting error has
option strict on disallows implicit conversions from ‘Date?’ to ‘Date’
where my variable is of type system.DateTime
Regards,
A Manohar
1 Like
Jobin_Joy
(Jobin Joy)
November 29, 2021, 6:14pm
4
Hi @anit.michael ,
Here is the inline screenshots for my previous post
Hope this will help you. Thank you.
1 Like
Its working fine. Thank you so much
1 Like
system
(system)
Closed
December 2, 2021, 7:59pm
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.