Output of DateTime GetPart

  • Last Post 6 days ago
  • Topic Is Solved
Parth Bakshi posted this 1 weeks ago


I am using the DateTime GetPart activity but it is changing the time that is input.

I don't understand why it would do that

Uploading the sceenshots

Attached Files

alphonsa@intellibot.io posted this 6 days ago

Hi Parth,

 In DateTime-Getpart component it was mentioned as "dd/MM/yyyy HH:MM" where "MM" is for 'months', which is why you are seeing the wrong time as 5:02 instead of 57 as "02" is referring to months but not time.
You need to use "mm" to get the correct result, so change the Format parameter in DateTime component from "dd/MM/yyy HH:MM" to dd/MM/yyy HH:mm"

Thanks & Regards,