Handling Datetime in database
Hi All,
I want to insert System date and time into the database into a single column from asp page.
As you know, date () and time() are two different functions in asp, so we need to concatenate these two functions to get datetime, then we have to insert datetime as a string.
But I want datetime column datatype in the datebase to be DATETIME only.If I change it into string then I cant perform Date manipulations on that datatime column data.
How to handle this?
Thanks in Advance...
Ram.
|