J Jon Skeet [C# MVP] Sep 22, 2007 #2 DaveP said: what method returns datetime as yyyymmdd Click to expand... Use DateTime.ToString with an appropriate format specifier.
DaveP said: what method returns datetime as yyyymmdd Click to expand... Use DateTime.ToString with an appropriate format specifier.
P Peter Duniho Sep 23, 2007 #3 DaveP said: what method returns datetime as yyyymmdd Click to expand... DateTime.ToString("yyyymmdd")
DaveP said: what method returns datetime as yyyymmdd Click to expand... DateTime.ToString("yyyymmdd")
H Hans Kesting Sep 24, 2007 #4 DaveP said: DateTime.ToString("yyyymmdd") Click to expand... DateTime.ToString("yyyyMMdd"); the "MM" prints the month-number, an "mm" would return "minutes" ... Hans Kesting
DaveP said: DateTime.ToString("yyyymmdd") Click to expand... DateTime.ToString("yyyyMMdd"); the "MM" prints the month-number, an "mm" would return "minutes" ... Hans Kesting
P Peter Duniho Sep 24, 2007 #5 Hans said: DateTime.ToString("yyyyMMdd"); the "MM" prints the month-number, an "mm" would return "minutes" ... Click to expand... That may in fact be the most sensible way to format a DateTime object, but it's not what the OP asked for.
Hans said: DateTime.ToString("yyyyMMdd"); the "MM" prints the month-number, an "mm" would return "minutes" ... Click to expand... That may in fact be the most sensible way to format a DateTime object, but it's not what the OP asked for.
H Hans Kesting Sep 26, 2007 #6 Hans said: That may in fact be the most sensible way to format a DateTime object, but it's not what the OP asked for. Click to expand... True
Hans said: That may in fact be the most sensible way to format a DateTime object, but it's not what the OP asked for. Click to expand... True