Has Basic object already been declared?


I want to use DateTime object’s property and method.(https://msdn.microsoft.com/ja-jp/library/system.datetime(v=vs.110).aspx).

There is two question.

It seems like a declaring DateTime object does not necessary. As I insert DateTime as variable, Uipath shows some candidates. It means that DateTime object has already instance. Uipath has already declared all objects and instances are made?

If you watch the reference of DateTime object, there are a lots of properties and methods. However, Uipath doesn’t show whole properties and methods, when I inserted DateTime object. Why?


Hi there @da91love,
From my understanding, DateTime is a value type and thus, cannot truly be null.

As is the same for Booleans, Integers, etc…

This means an “uninitialised” DateTime value has a minimum value set, which is:
01/01/0001 00:00:00

Regarding your second point, the intellisense in Uipath often does not include all potential methods.

Your best bet is to try the method.