Quote:
quote:
...[you should]...always use yyyy/MM/dd format
|
IMO, it is better to use the ISO format for datetime character strings. This format takes the form:
Code:
yyyy-mm-dd Thh:mm:ss:mmm
(Note that constant "T" in there if you include a time).
This is unambiguous no matter what your language settings are on the server, in the tools you are using to execute a query and/or in the connection used to access the server (which, as you've found out, are not necessarily consistent with one another). Other formats may work, but are not necessarily guaranteed to give consistent results from language setting to setting.
Jeff Mason
Custom Apps, Inc.
www.custom-apps.com