Convert date time format

This video may help: UiPath VB.Net Complete Tutorial (System DateTime)