Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

c# datetime to sql server datetime

DateTime myDateTime = DateTime.Now;
string sqlFormattedDate = myDateTime.ToString("yyyy-MM-dd HH:mm:ss.fff");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datetime #sql #server #datetime
ADD COMMENT
Topic
Name
9+1 =