B Bill Dekleris Oct 26, 2006 #2 In C#, you could write: DateTime dt = DateTime.Now; Response.Write(dt.ToLongDateString()); or simply Response.Write(DateTime.Now.ToLongDateString()); Regards, Bill Dekleris. ----------------------------------------------------------------------------------------- http://www.infosnap.eu InfoSnap · the powerful, all-purpose information and knowledge-base manager.
In C#, you could write: DateTime dt = DateTime.Now; Response.Write(dt.ToLongDateString()); or simply Response.Write(DateTime.Now.ToLongDateString()); Regards, Bill Dekleris. ----------------------------------------------------------------------------------------- http://www.infosnap.eu InfoSnap · the powerful, all-purpose information and knowledge-base manager.
K Karl Seguin [MVP] Oct 26, 2006 #3 You might also want to take a look at the standard date formatters: http://msdn2.microsoft.com/en-us/library/az4se3k1.aspx and the custom ones: http://msdn2.microsoft.com/en-us/library/8kb3ddd4.aspx Which you could use as parmaters to the ToString() method. Karl
You might also want to take a look at the standard date formatters: http://msdn2.microsoft.com/en-us/library/az4se3k1.aspx and the custom ones: http://msdn2.microsoft.com/en-us/library/8kb3ddd4.aspx Which you could use as parmaters to the ToString() method. Karl