Because I'm currently playing with a lot of AJAX frameworks I'm
searching for the correct use of dates and times in web applications.
Ajax.NET Professional is using time zone indentifier to know from
which time zone the request is comming from. See following server-side
C# code:
[AjaxMethod]
public static DateTime GetCurrentTime()
{
return DateTime.Now;
}
Calling this method should return the same date as calling new Date()
on the client-side JavaScript code (with the difference of the request
duration). Atlas is not returning the time zone which will end in a
different time when calling above method.
How does this effect web farms where one of the web server is running
in a different time zone, is this possible? And, when I look at DNS
configuration of some A records I see that there are multiple IP
addresses defined. When the web servers for each IP address is located
in a different time zone you will have the same problem when dates do
not include time zones.
What do you think is the right way?
Example available at http://berlin.schwarz-interactive.de/.
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---