-
I have a string format of oct 16, 2019. I want to change the string into 16/10/2019.
-
I have time of 10: 00 PM and I want it to show 22:00.
How can I do that?
I have a string format of oct 16, 2019. I want to change the string into 16/10/2019.
I have time of 10: 00 PM and I want it to show 22:00.
How can I do that?
Hi @Emily_Yip
Please try this
varDate = CDate(varDate).ToString(“dd/MM/yyyy”)
varTime = CDate(varTime).ToString(“HH:mm”)
Output:
ConvertDatTime.xaml (5.0 KB)
I hope it would be helpful
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.