Hi there,
Is this in any way related to the book Instant Results? If not, you're better off posting these kind of questions in a more general purpose forum here at Wrox.com.
That said, there isn't much you can do about it. DateTime.Now always returns the date at the server, not at the client, as the code runs at the server.
You could use a JavaScript date and send that to the server and work from there.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004