G
Gary
f.CreationTime.Hour.ToString() + ":" +
f.CreationTime.Minute.ToString() + ":"
+ f.CreationTime.Millisecond.ToString();
Which produces a format like 9:30:124
Now I'd like to change this slightly. Firstly I do not need to know the
creation time of the file accurate to the thousandths of miliseconds!
So would prefer to have something like:
9:30:12
Secondly I'd like to append am/pm to the time, to give something like:
-
9:30:12 am
Can someone tell me how to modify the above original code to produce an
output more like the example directly above?
Thanks,
Gary.
f.CreationTime.Minute.ToString() + ":"
+ f.CreationTime.Millisecond.ToString();
Which produces a format like 9:30:124
Now I'd like to change this slightly. Firstly I do not need to know the
creation time of the file accurate to the thousandths of miliseconds!
So would prefer to have something like:
9:30:12
Secondly I'd like to append am/pm to the time, to give something like:
-
9:30:12 am
Can someone tell me how to modify the above original code to produce an
output more like the example directly above?
Thanks,
Gary.