Please advise how in the world are we supposed to convert this datetime to another display format?

Hello guys,
I want to covert this datetime to “dd MMM yyyy” format but I cant make sense of this error.
Can you please check how the is possible that is DateTime type and can not be converted same as Now can be converted to a different format?
Why it has to be so complicated?

DirectCast(dt_data(0).Item(“Pay-Out Date”), DateTime).ToString(“dd MM yyyy”)
Solution by Mateusz Macheta

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.