C Cor Ligthert [MVP] Nov 17, 2005 #2 Bill, You cannot add milliseconds to a string. However you can do now.addMilliseconds(n).ToString I hope this helps, Cor
Bill, You cannot add milliseconds to a string. However you can do now.addMilliseconds(n).ToString I hope this helps, Cor
K Kevin Thomas Nov 17, 2005 #3 You have to use the formatting overload of "ToString" thusly: Now.ToString("yyyy-MM-dd HH:mm:ss.fff") See this article in MSDN for more info on how to format the date: http://msdn.microsoft.com/library/d...ide/html/cpconcustomdatetimeformatstrings.asp Kevin
You have to use the formatting overload of "ToString" thusly: Now.ToString("yyyy-MM-dd HH:mm:ss.fff") See this article in MSDN for more info on how to format the date: http://msdn.microsoft.com/library/d...ide/html/cpconcustomdatetimeformatstrings.asp Kevin