Hi
Plz tell me what is the correct way to pass date values from Visual Basic DtpPicker to SQL server. Bcz both Both dtpPicker(VB) and SQL server are locale aware therefore the values sometimes get wrong i.e month is saved in day and vise versa. For example i am have selected US Month/day/year settings at my PC and my SQL server has German(swiss) date.month.Year format so how will i pass these values. Also i have to consider Wt will happen when any of the server or the client changes his regional setttings.
Plz tell me what is the correct way to pass date values from Visual Basic DtpPicker to SQL server. Bcz both Both dtpPicker(VB) and SQL server are locale aware therefore the values sometimes get wrong i.e month is saved in day and vise versa. For example i am have selected US Month/day/year settings at my PC and my SQL server has German(swiss) date.month.Year format so how will i pass these values. Also i have to consider Wt will happen when any of the server or the client changes his regional setttings.