wxuf
June 6th, 2005, 10:15 PM
hi:
I will open an edit box for user to input the time then I will save this time to database. In database, the Attribute type is "(date)Timestamp". but I get a string from the edit box, how can I convert it to "Timestamp" with a speicified format ( such as "day/mon/year hour:minute:second AM ").
I use SQL server 2000.
wxuf
I will open an edit box for user to input the time then I will save this time to database. In database, the Attribute type is "(date)Timestamp". but I get a string from the edit box, how can I convert it to "Timestamp" with a speicified format ( such as "day/mon/year hour:minute:second AM ").
I use SQL server 2000.
wxuf