Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: SQL Server
Expertise: Beginner
Nov 3, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Default Date Format

I have an issue with date formats. I have a VB client piece of software that generates a select based on a particular date. However it only works on a number of clients erroring out with "ASSERTION 2001, cannot retrieve record set." I believe this is related to the format of the date.

For example, on my machine 10/22/99 (22 October 1999) is fine, while on others it errors out. If I change the format on their machines to 22/10/1999, then theirs works and mine doesn't.

Is there a default date format in SQL Server, or is it user-specific?

I suspect Control Panel Regional Settings Date may be the culprit.

Check the setup of the date formats on the different clients and see if changing that doesn't at least make the behavior consistent between clients.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date