Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Passing time, date and timezone

Thread Tools

Passing time, date and timezone
Posts: n/a

I'm currently having problems with passing date, time and timezone
data to my web service. Let me provide further details. The service
will accepts clocking data and then inserts this into a connected
database, for attendance monitoring. Client apps may not be accessing
from the same time zone and the server, so I wanted to have this
detail stored accessable from within the web service.

The format of the date, time and time zone must be in is the W3C
format of "yyyy-mm-ddThh:mm:sszzzz" where zzzz holds the time zone
information. however, if I parse a string to dateTime, the time zone
part of the time is automatically used to normalise the time (ie. add
or subtract time zone to/from the actual time). I guess its .NET being
too clever for its own good really!

Is there any way that i can store the reference of the ACTUAL time,
and then the relative time zone also THEN also retrieve them once it
has been passed to the service?

Thanks in advance

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TimeZone change - how to use TimeZone class axrock Java 8 03-25-2009 11:54 PM
TimeZone calculation on Windows Vista with DateTime::TimeZone Ami Perl Misc 5 09-24-2007 07:27 AM
Convert windows TimeZone to Java TimeZone asaf Java 3 09-11-2006 05:40 PM
update: timezone offset calc and date formatting Leendert Bottelberghs Perl Misc 0 04-08-2005 10:32 AM
Date, date date date.... Peter Grison Java 10 05-30-2004 01:20 PM