var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: taking date from user
hi i am taking date from user.
if i want to take only date or only time from user and save into database than what to do?
i am using MS SQL Server which takes datatype as 'datetime' which takes both date and time as value to store in database.
Times are tricky for input because you have to control the format so much, but I usually use the format parameter of the convert function.
Look up BOL for "CAST and CONVERT".
Last edited by onansalad; 02-03-06 at 09:51.