Hi,
I am having trouble with importing and converting a DateTime from an datatable.
Input format :
03:00 pm
Desired outcome :
15:00:00
Any help would be appreciated
Hi,
I am having trouble with importing and converting a DateTime from an datatable.
Input format :
03:00 pm
Desired outcome :
15:00:00
Any help would be appreciated
@Zak_Cooper You can use this
assign string v1 = DateTime.Now.ToString("HH:mm:ss tt")
Thanks indra, worked like a charm ![]()
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.