hey all,
i'd like a string of today's date in the following format:
mmddyy
and here's how i did it:
String directoryName = DateTime.Now.Mo nth.ToString() +
DateTime.Now.Da y.ToString() + DateTime.Now.Ye ar.ToString().S ubstring(2);
is there an easier way?
thanks,
rodchar
i'd like a string of today's date in the following format:
mmddyy
and here's how i did it:
String directoryName = DateTime.Now.Mo nth.ToString() +
DateTime.Now.Da y.ToString() + DateTime.Now.Ye ar.ToString().S ubstring(2);
is there an easier way?
thanks,
rodchar
Comment