Re: ADO.NET Secret of eternal youth
From: Anthony Williams (tone_at_bigtone.net)
Date: 04/15/04
- Next message: Steve Peterson: "Re: Images into SQL Server"
- Previous message: Cor Ligthert: "Re: Images into SQL Server"
- In reply to: Haim: "Re: ADO.NET Secret of eternal youth"
- Next in thread: Haim: "Re: ADO.NET Secret of eternal youth"
- Reply: Haim: "Re: ADO.NET Secret of eternal youth"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 15 Apr 2004 12:24:21 +0100
Haim,
<% Page language="vb %>
<% Response.Write(Now.ToString()) %>
Surely that would tell you the time on the host? A simple comparison with
your local time would tell you whether the settings are different.
Regards,
Anthony Williams
"Haim" <haim@nospam.nospam> wrote in message
news:edjTh0qIEHA.3964@TK2MSFTNGP10.phx.gbl...
> Kevin,
>
> Thank you very much for your prompt reply. The host is a public host so
> I'm not sure what their settings are. I'll write their support and see if
> I can get some information. When they answer I'll pass the info on to
> you.
>
> The code on the server side is very simple. I'm using the update method
> of an OLEDataadaptor.
>
> The insert statement is Insert into Tempgames ( id, gamedate, hometeam,
> visitingteam ) values
> (?,?,?,?)
>
> Haim
>
> Kevin Yu [MSFT] wrote:
>
>>Hi Haim
>>First of all, I would like to confirm my understanding of your issue. From
>>your description, I understand that the date value was loosing 1 day when
>>inserted by the web service on remote machine. If there is any
>>misunderstanding, please feel free to let me know.
>>
>>Generally, this might be caused by a different date/time setting or locale
>>setting on the client and server machines. Could you please check if the
>>clock has the same date on bothe computers? When inserting the data to the
>>database table, are you passing the date values directly or have you done
>>something on it with paticular functions on the server?
>>
>>HTH. If the problem still peresists, could you please show me your update
>>code and the whole insert command for the web service? It will be much
>>more efficient for us to do deliver our assistance with the code. Thanks
>>for your cooperation!
>>
>>Kevin Yu
>>=======
>>"This posting is provided "AS IS" with no warranties, and confers no
>>rights."
>>
>>
>
- Next message: Steve Peterson: "Re: Images into SQL Server"
- Previous message: Cor Ligthert: "Re: Images into SQL Server"
- In reply to: Haim: "Re: ADO.NET Secret of eternal youth"
- Next in thread: Haim: "Re: ADO.NET Secret of eternal youth"
- Reply: Haim: "Re: ADO.NET Secret of eternal youth"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|