By using an assign activity you could do something like: day = valuedate.Day
The Day method, when used in a date variable, will return what you need. Same with Month method
If you need to convert your value date into a date, you could always use the CDate function and pass your object in. For example: day = cdate(valuedate).day
Let’s assume your initial value is: string initialValue = "24.09.2019 23:41"
You can use this to extract the Date: DateTime valueDateTime = System.DateTime.Parse(initialValue, "dd.MM.yyyy HH:mm") which will return a DateTime object
From there you can extract the day with the following: string dayValue = valueDateTime.ToString("dd")
OR
You can do it all in one go with the following: string dayValue = System.DateTime.Parse(initialValue, "dd.MM.yyyy HH:mm").ToString("dd")
EDIT: I just realized I think this won’t work with VB.Net, only C#… So that’s a no-go for most all UiPath users.