>
> Hi
>
> since AJ is using ASP , there is format function in VB for formatting data
> so tht he can give as Format(DateColumn, "Ymd").
>
> Renjith
>
>
>
> "Jens Süßmeyer" wrote:
>
>> I don´t know which Function you mean with FORMAT, but here is another
>> option
>> for that. A good pratice for me is to get the data back in a very common
>> format and to format it at the client side. The settings the date and
>> time
>> is formatted depends on some settings concerning the client, the User
>> connnction to SQL Server (with it´s special user localized settings) or
>> the
>> server settings. Perhaps you should read here a little bit further:
>>
>>
http://www.karaszi.com/SQLServer/info_datetime.asp#OutputFormats >>
>> --
>> HTH, Jens Suessmeyer.
>>
>> ---
>>
http://www.sqlserver2005.de >> ---
>> "Renjith" <Renjith@discussions.microsoft.com> schrieb im Newsbeitrag
>> news:A2A764AE-4BD0-4B0F-B5FF-A9FF40B6060F@microsoft.com...
>> >
>> > Hi
>> >
>> > Seems u have to format date using FORMAT Function
>> >
>> > renjith
>> >
>> > "AJ" wrote:
>> >
>> >> I am storing dates in SQL Server 2000 (Using ASP).
>> >> The date is getting validated against the Ymd format, by using SET
>> >> DATEFORMAT.
>> >>
>> >> In the Enterprise Manager - the date is displayed in local format
>> >> (dmY).
>> >> When i run a store procedure manually it is returned as Ymd.
>> >> When i execute stored procedure from asp and load data into a
>> >> recordset
>> >> it is
>> >> displayed in mdY Format.
>> >>
>> >> This is obviously quite confusing. Can anyone give me some insight
>> >> into
>> >> what
>> >> is happening. How i can retrieve a date in one format (Ymd).
>>
>>
>>